From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1TyHPs-0000Ap-RX for ptxdist@pengutronix.de; Thu, 24 Jan 2013 08:40:08 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1TyHPs-0008PF-Qb for ptxdist@pengutronix.de; Thu, 24 Jan 2013 08:40:08 +0100 Date: Thu, 24 Jan 2013 08:40:08 +0100 From: Michael Olbrich Message-ID: <20130124074008.GG29632@pengutronix.de> References: <201301240010.41601.tim@krieglstein.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201301240010.41601.tim@krieglstein.org> Subject: Re: [ptxdist] glibc error with arm-1136jfs-linux-gnueabihf Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hi, On Thu, Jan 24, 2013 at 12:10:41AM +0100, Tim Sander wrote: > Here is another error when installing glibc with the > OSELAS.Toolchain-2012.12.0/arm-1136jfs-linux-gnueabihf toolchain in > glibc.targetinstall it complains about > install_copy_toolchain_lib: ld-linux.so.3 not found > make: *** [/home/sander/speedy/newToolchain/ptx/platform-pmx- > one/state/glibc.targetinstall] Error 1 > > Which seems to come from glibc.make: > ifdef PTXCONF_GLIBC_LD > @$(call install_copy_toolchain_dl, glibc) > endif > > But it seems its looking for the wrong file in the toolchain: > /opt/OSELAS.Toolchain-2012.12.0/arm-1136jfs-linux-gnueabihf/gcc-4.7.2- > glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/sysroot-arm-1136jfs-linux- > gnueabihf/lib/ld-2.16.so > /opt/OSELAS.Toolchain-2012.12.0/arm-1136jfs-linux-gnueabihf/gcc-4.7.2- > glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/sysroot-arm-1136jfs-linux- > gnueabihf/lib/ld-linux-armhf.so.3 > > As i think its the latter it should be either without armhf in the toolchain > or the install_copy_toolchain_dl magic should do the *right* thing? ld-linux-armhf.so.3 is correct but gcc reports the wrong name. This is a bug in the toolchain. It's fixed in git and I'm currently collecting other issued that I want to fix for a 2012.12.1 release. Michael -- 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 | -- ptxdist mailing list ptxdist@pengutronix.de