[uClibc] Buildroot Binutils/GCC improperly linked

Manuel Novoa III mjn3 at codepoet.org
Mon May 10 16:48:56 UTC 2004


On Mon, May 10, 2004 at 12:11:55PM +0000, Jon Anderson wrote:
> Hi,
> 
>    I took a quick look through the archives, and didn't find quite what 
> I was looking for, so I was hoping someone here might be able to point 
> me in the right direction.
> 
>    I'm trying to build a full uClibc development environment with the 
> uClibc buildroot stuff. (uClibc/toolchain/buildroot is friggin' wicked, 
> BTW -> systems less than 1M, incl kernel. You guys developing this stuff 
> really deserve a lot of praise.)
> 
>    I'm having some problems with GCC and binutils being dynamically 
> linked to my system glibc/ld-linux, rather than the uClibc libs:
> 
> System ldd gives:
> janderson at hypnos buildroot $ ldd build_i386/root/usr/bin/gcc
>        linux-gate.so.1 =>  (0xffffe000)
>        libc.so.6 => /lib/libc.so.6 (0x40020000)
>        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> 
> ldd within a chroot gives:
> sh-2.05b# ldd /usr/bin/gcc
>        libc.so.6 => not found (0x00000000)
>        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)
> 
> Can anyone point me in the right direction here? How should I go about 
> fixing this?

I'm guessing gentoo with CC set in the default environment?

Manuel



More information about the uClibc mailing list