[lfs-support] LFSv7.4 stuck at section 6.9.1

William Harrington kb0iic at berzerkula.org
Tue Sep 24 08:36:39 PDT 2013


On Sep 24, 2013, at 4:25 AM, Kodali Sivakiran wrote:

> WHAT MIGHT BE THE REASON??
> In an attempt to understand the problem, i did this outside the  
> chroot environment:
> " shiva at shiva-desktop:/$ ldd /tools/bin/gcc
>     linux-gate.so.1 =>  (0xb77dd000)
>     libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb761b000)
>     /lib/ld-linux.so.2 (0xb77de000)    "
> so, does it mean that my /tools/bin/gcc got linked with the host  
> libraries rather than my /tools/lib ???

If you were able to chroot, and you can't run gcc because of the error  
above, it means that most likely the gcc source and build directories  
weren't removed before rebuilding gcc during pass2 in chapter 5. You  
need to rebuild gcc.

Sincerely,

William Harrington



More information about the lfs-support mailing list