H. J. Lu writes: > On Tue, Dec 07, 2004 at 12:16:56AM -0800, David Mosberger wrote: > > >>>>> On Tue, 7 Dec 2004 09:01:33 +0100, Matthias Klose <[EMAIL PROTECTED]> > > >>>>> said: > > > > Matthias> glibc now fails to build from source: > > > > Matthias> undefined reference to `__gcc_personality_v0' > > > > Argh, looks like we may have to leave unwind-c.c in LIB2ADDEH. > > > > I cc'd HJ Lu since he may remember better what the final conclusion > > was in regards to the personality routine. IIRC, the resolution was > > that it needs to be provided by libgcc. > > We decided that the personality routine shouldn't be the part of > libunwind.so. For gcc 3.4/4.0, unwind-sjlj.c and unwind-c.c are > in libgcc_eh.a, unwind-sjlj.c, unwind-c.c, unwind-compat.c and > unwind-dw2-fde-compat.c are in libgcc_s.so.1.
ok, I'm currently bootstrapping gcc-3.3 with the patch attached, a glibc bootstrap using this compiler did succeed. I'll upload the fixed gcc-3.3, when bootstrap and testsuite finishes. --- gcc-3.3-3.3.5/src/gcc/config/t-libunwind 2003-12-03 18:18:22.000000000 -0800 +++ gcc-3.3-3.3.5-fixed/src/gcc/config/t-libunwind 2004-12-04 14:34:40.301003078 -0800 @@ -2,5 +2,4 @@ # so that the resulting libgcc_s.so has the necessary DT_NEEDED entry for # libunwind. SHLIB_LC = -lunwind -lc -LIB2ADDEH = $(srcdir)/unwind-libunwind.c $(srcdir)/unwind-sjlj.c \ - $(srcdir)/unwind-c.c +LIB2ADDEH = $(srcdir)/unwind-sjlj.c $(srcdir)/unwind-c.c -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]