[Bug bootstrap/35804] Bootstrap of combined gcc + binutils, with --enable-shared, with sysroot fails
amodra at bigpond dot net dot au
gcc-bugzilla@gcc.gnu.org
Sun Jan 18 23:36:00 GMT 2009
------- Comment #8 from amodra at bigpond dot net dot au 2009-01-18 23:36 -------
I believe that this is a user error and that this bugzilla should be closed.
Your problem with ld "cannot find /tools/lib/libc.so.6 inside /tools" is simply
that your glibc is built wrongly for your sysroot. (glibc is not sysroot
aware.) You'll find that the script libc.so has a line something like
GROUP ( /tools/lib/libc.so.6 /tools/usr/lib/libc_nonshared.a AS_NEEDED (
/tools/lib/ld-linux.so.2 ) )
The /tools sysroot prefix ought not be present on any of these paths.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35804
More information about the Gcc-bugs
mailing list