Gentoo Archives: gentoo-embedded

From: Mike Frysinger <vapier@g.o>
To: gentoo-embedded@l.g.o
Cc: Jan Girlich <vollkorn@×××××××.de>
Subject: Re: [gentoo-embedded] [gentoo-user-de] nss on arm - trying to use glibc
Date: Tue, 28 Mar 2006 17:59:17
In Reply to: [gentoo-embedded] [gentoo-user-de] nss on arm - trying to use glibc by Jan Girlich
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/ > 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@g.o mailing list


Subject Author
Re: [gentoo-embedded] [gentoo-user-de] nss on arm - trying to use glibc Jan Girlich <vollkorn@×××××××.de>