--- Comment #8 from davek at csh dot rit dot edu 2006-01-17 07:45 ---
I see gcc-bugs@gcc.gnu.org in the cc list, and I can't remove it. I was just
using this as my notebook for this problem. I thought no email was sent on
resolved bugs, but now I see I'm getting emails. Who
--- 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
+# h
--- Comment #6 from davek at csh dot rit dot edu 2006-01-17 06:20 ---
I've gotten the compile to continue by cross compiling and altering the
Makefile between stage 1 and 2 (or wherever it errored).
$ diff -u orig/gcc-4.0.2/gcc/Makefile.in gcc-4.0.2/gcc/Makefile.in
--- orig/gcc-
--- Comment #5 from davek at csh dot rit dot edu 2006-01-16 20:48 ---
still can't get it to work. I've tried at least 50 different configurations
and had to wait an hour to see if each one would work. It always exits with
undefined references to symbols in /usr/glibc2/lib/l
--- Comment #4 from davek at csh dot rit dot edu 2006-01-16 02:36 ---
so GCC won't compile with glibc-2.3.6. thanks.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25794
--- 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
Error 2
It's still linking against /lib/ld-linux.so.2, which I don't think it should
be. I'm sure its a magic variable I'm not setting somewhere.
In short: how do you compile gcc with a local build of glibc?
--
Summary: gcc won't link to new local glibc
Pro
--- Comment #4 from davek at csh dot rit dot edu 2006-01-15 01:56 ---
as a work-around, I was able to fix this problem by copying the config.cache
from my root build directory into whatever directory was failing.
On my GNU/debian system, I had to copy it to
./i686-pc-linux-gnu