From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-lb0-x234.google.com ([2a00:1450:4010:c04::234]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YKtwq-0006Tu-Vn for barebox@lists.infradead.org; Mon, 09 Feb 2015 19:24:45 +0000 Received: by mail-lb0-f180.google.com with SMTP id z12so10736630lbi.11 for ; Mon, 09 Feb 2015 11:24:20 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20150209154911.f0f1e90dac8229ad187bb20f@gmail.com> References: <20150208232614.f704a8d152576f0c47ca9c50@gmail.com> <20150209074034.GT12209@pengutronix.de> <20150209154911.f0f1e90dac8229ad187bb20f@gmail.com> Date: Mon, 9 Feb 2015 20:24:20 +0100 Message-ID: From: Franck Jullien List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: openrisc build problem To: Antony Pavlov Cc: barebox 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 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 ? If you still have problems you can ask the mailing list or IRC at #openrisc on freenode. Franck. _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox