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
Message-Id: 200603281300.08794.vapier@gentoo.org
In Reply to: [gentoo-embedded] [gentoo-user-de] nss on arm - trying to use glibc by Jan Girlich
1 On Sunday 26 March 2006 09:42, Jan Girlich wrote:
2 > My first try was just to emerge glibc after setting up my slug following
3 > this howto [2]. This ended with the same error like described in this
4 > thread which has no solution so far. [3]
5 >
6 > stage3-arm-20040510.tar.bz2
7 > stage3-armv4l-2005.1.tar.bz2
8
9 this are for little endian arm machines so unless you are byteswapping booting
10 your slug into little endian format, that aint gonna work
11
12 > Then I tried to setup cross-compiling with crossdev "crossdev -g 3.4.4
13 > armeb-softfloat-linux-gnu". gcc greater than 3.4.4 won't compile.
14 > But now, I don't know how to actually *use* the cross compile environment.
15 > After reading [4] I tried this:
16
17 glibc-2.3.6 or glibc-2.4 are your best bet ... glibc-2.3.5 for sure wont work
18
19 ive never tested softfloat glibc, just softfloat uclibc
20
21 > /usr/lib/gcc/armeb-softfloat-linux-gnu/3.4.5/../../../../armeb-softfloat-li
22 >nux-gnu/bin/ld: cannot find /usr/armeb-softfloat-linux-gnu/lib/libc.so.6
23 > inside
24 > /usr/armeb-softfloat-linux-gnu/binutils-bin/2.16.1/../../../armeb-softfloat
25 >-linux-gnu collect2: ld returned 1 exit status
26
27 known bug in glibc ebuild i havent committed the fix for yet ... ive been sick
28 so i havent had much time to test it out before committing
29
30 if you want to hack around it for now, go into /usr/armeb-softfloat-linux-gnu/
31 and run this:
32 ln -s . armeb-softfloat-linux-gnu
33 -mike
34 --
35 gentoo-embedded@g.o mailing list

Replies

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