From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-la0-f52.google.com ([209.85.215.52]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YLK0G-00013v-0p for barebox@lists.infradead.org; Tue, 10 Feb 2015 23:14:00 +0000 Received: by labgf13 with SMTP id gf13so39754lab.9 for ; Tue, 10 Feb 2015 15:13:37 -0800 (PST) Date: Wed, 11 Feb 2015 03:16:46 +0400 From: Antony Pavlov Message-Id: <20150211031646.4c6aaf0b21d3cd01883950a3@gmail.com> In-Reply-To: References: <20150208232614.f704a8d152576f0c47ca9c50@gmail.com> <20150209074034.GT12209@pengutronix.de> <20150209154911.f0f1e90dac8229ad187bb20f@gmail.com> Mime-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: openrisc build problem To: Franck Jullien Cc: barebox On Mon, 9 Feb 2015 20:24:20 +0100 Franck Jullien wrote: > 2015-02-09 12:49 GMT+01:00 Antony Pavlov : > > On Mon, 9 Feb 2015 12:26:05 +0100 > > Franck Jullien wrote: > > > >> 2015-02-09 8:40 GMT+01:00 Sascha Hauer : > >> > 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 ne= ed > >> >> 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_versi= ons > >> 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 Debia= n 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: e= rror 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-e= lf-latest-ubuntu-14.04-amd64.tgz $ sha1sum or1k-elf-latest-ubuntu-14.04-amd64.tgz = 7cd8f3cb7d4d8126774dd63fd26d00f76658d968 or1k-elf-latest-ubuntu-14.04-amd6= 4.tgz or1k-elf-latest-ubuntu-14.04-amd64.tgz 2015-02-06 10:56 139M = I have used it for testing the 'openrisc: barebox.lds.S: fix BFD format nam= es' patch. --=A0 Best regards, =A0 Antony Pavlov _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox