openrisc build problem

Sascha Hauer s.hauer at pengutronix.de
Wed Feb 11 01:44:50 PST 2015


On Wed, Feb 11, 2015 at 03:16:46AM +0400, Antony Pavlov wrote:
> On Mon, 9 Feb 2015 20:24:20 +0100
> Franck Jullien <franck.jullien at gmail.com> wrote:
> 
> > 2015-02-09 12:49 GMT+01:00 Antony Pavlov <antonynpavlov at gmail.com>:
> > > 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
> > 
> > To be honest, I never tried those prebuilt toolchain.
> > Did you try the newer version present on the second link ?
> > 
> 
> Sorry, I have forgotten this question.
> 
> This toolchain works fine:
>   http://lis.ei.tum.de/pub-download/openrisc-builds/or1k-elf/release/or1k-elf-latest-ubuntu-14.04-amd64.tgz

The server seems to be offline for the whole morning now. I'll try
later.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list