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: 17 Jan 2006 07:41:11 -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 #7 from davek at csh dot rit dot edu 2006-01-17 07:41 -------
a better patch ->
--- orig/gcc-4.0.2/gcc/Makefile.in Fri Sep 9 17:05:39 2005
+++ gcc-4.0.2/gcc/Makefile.in Mon Jan 16 21:40:20 2006
@@ -73,6 +73,9 @@
srcdir = @srcdir@
docdir = @srcdir@/doc
+# hack
+BOOT_LDFLAGS = -Wl,--dynamic-linker,/usr/glibc2/lib/ld-linux.so.2
-Wl,-rpath,/usr/glibc2/lib
+
# Directory where sources are, absolute.
abs_srcdir = @abs_srcdir@
abs_docdir = @abs_srcdir@/doc
I can't define it on the makefile line, because I have to change it throughout
the build.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25794