[Bug bootstrap/25794] gcc won't link to new local glibc
davek at csh dot rit dot edu
gcc-bugzilla@gcc.gnu.org
Mon Jan 16 02:21:00 GMT 2006
------- Comment #2 from davek at csh dot rit dot edu 2006-01-16 02:21 -------
still won't compile
stage one compiler still linked to old glibc ->
$ which ldd
/usr/glibc2/bin/ldd
$ ldd gcc/stage1/xgcc
libc.so.6 => /lib/libc.so.6 (0x40019000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
I used this build command this time, with BOOT_LDFLAGS:
make BOOT_LDFLAGS="-Wl,--dynamic-linker=/usr/glibc2/lib/ld-linux.so.2"
bootstrap4
it fails with the same error as before. But the extra linking flags were added
to the command line ->
stage1/xgcc -Bstage1/ -B/usr/local/i686-pc-linux-gnu/bin/ -O2 -g
-fomit-frame-
pointer -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-protot
ypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition
-D
HAVE_CONFIG_H -DGENERATOR_FILE
-Wl,--dynamic-linker=/usr/glibc2/lib/ld-linux.so.
2 -o build/genmodes \
build/genmodes.o build/errors.o
../build-i686-pc-linux-gnu/libiberty/libiberty.
a
/usr/glibc2/lib/libc.so.6: undefined reference to `_rtld_global@GLIBC_PRIVATE'
...
...
--
davek at csh dot rit dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25794
More information about the Gcc-bugs
mailing list