openrisc build problem

Antony Pavlov antonynpavlov at gmail.com
Mon Feb 9 03:49:11 PST 2015


On Mon, 9 Feb 2015 12:26:05 +0100
Franck Jullien <franck.jullien at gmail.com> wrote:

> 2015-02-09 8:40 GMT+01:00 Sascha Hauer <s.hauer at pengutronix.de>:
> > Hi,
> >
> > On Sun, Feb 08, 2015 at 08:35:40PM +0100, Franck Jullien wrote:
> >>
> >> Hi,
> >>
> >> Yes I know :) Until now, the official openrisc toolchain was called or32.
> >> However, the new one (and maintained one)  is called or1k. So we need
> >> to change "elf32-or32" to "elf32-or1k" in barebox.lds.S.
> >>
> >> Feel free to send a patch. Or I'll do that later.
> >
> > Is there a binary toolchain somewhere for download? I'll need for my
> > build tests once this patch is in.
> >
> 
> Here: http://opencores.org/or1k/OpenRISC_GNU_tool_chain#Prebuilt_versions
> Or more recent here:
> http://lis.ei.tum.de/pub-download/openrisc-builds/or1k-elf/release/


Hmmm.

It looks like gcc-or1k-elf-4.8.1-x86_64 does not work on my amd64 Debian testing
('apt-cache search libmpc2' gives no results). E.g.


$ /opt/gcc-or1k-elf-4.8.1-x86_64/bin/or1k-elf-gcc 1.c 
/opt/gcc-or1k-elf-4.8.1-x86_64/bin/../libexec/gcc/or1k-elf/4.8.1/cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory

-- 
Best regards,
  Antony Pavlov



More information about the barebox mailing list