From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1FOITN-00008p-GF for garchives@archives.gentoo.org; Tue, 28 Mar 2006 17:59:17 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.5) with SMTP id k2SHwjn5030116; Tue, 28 Mar 2006 17:58:45 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.6/8.13.5) with ESMTP id k2SHwjso015612 for ; Tue, 28 Mar 2006 17:58:45 GMT Received: from localhost ([127.0.0.1] helo=home.wh0rd.org) by smtp.gentoo.org with esmtp (Exim 4.54) id 1FOISq-0004Yi-Le for gentoo-embedded@lists.gentoo.org; Tue, 28 Mar 2006 17:58:44 +0000 Received: (qmail 21737 invoked from network); 28 Mar 2006 12:46:25 -0500 Received: from unknown (HELO vapier) (192.168.0.2) by 192.168.0.1 with SMTP; 28 Mar 2006 12:46:25 -0500 From: Mike Frysinger Organization: wh0rd.org To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] [gentoo-user-de] nss on arm - trying to use glibc Date: Tue, 28 Mar 2006 13:00:08 -0500 User-Agent: KMail/1.9.1 Cc: Jan Girlich References: <4426A872.8050302@freenet.de> In-Reply-To: <4426A872.8050302@freenet.de> GEOMAN: IS A RETARD Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603281300.08794.vapier@gentoo.org> X-Archives-Salt: 965e84d3-fb2a-4276-bc54-ed2d43563718 X-Archives-Hash: 470eb18e5d88492b04e67a433563f553 On Sunday 26 March 2006 09:42, Jan Girlich wrote: > My first try was just to emerge glibc after setting up my slug following > this howto [2]. This ended with the same error like described in this > thread which has no solution so far. [3] > > stage3-arm-20040510.tar.bz2 > stage3-armv4l-2005.1.tar.bz2 this are for little endian arm machines so unless you are byteswapping booting your slug into little endian format, that aint gonna work > Then I tried to setup cross-compiling with crossdev "crossdev -g 3.4.4 > armeb-softfloat-linux-gnu". gcc greater than 3.4.4 won't compile. > But now, I don't know how to actually *use* the cross compile environment. > After reading [4] I tried this: glibc-2.3.6 or glibc-2.4 are your best bet ... glibc-2.3.5 for sure wont work ive never tested softfloat glibc, just softfloat uclibc > /usr/lib/gcc/armeb-softfloat-linux-gnu/3.4.5/../../../../armeb-softfloat-li >nux-gnu/bin/ld: cannot find /usr/armeb-softfloat-linux-gnu/lib/libc.so.6 > inside > /usr/armeb-softfloat-linux-gnu/binutils-bin/2.16.1/../../../armeb-softfloat >-linux-gnu collect2: ld returned 1 exit status known bug in glibc ebuild i havent committed the fix for yet ... ive been sick so i havent had much time to test it out before committing if you want to hack around it for now, go into /usr/armeb-softfloat-linux-gnu/ and run this: ln -s . armeb-softfloat-linux-gnu -mike -- gentoo-embedded@gentoo.org mailing list