This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/25794] gcc won't link to new local glibc
- From: "davek at csh dot rit dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Jan 2006 02:21:33 -0000
- Subject: [Bug bootstrap/25794] gcc won't link to new local glibc
- References: <bug-25794-12017@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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