[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#284563: libunwind in unstable



On Thu, Dec 09, 2004 at 01:35:07PM +0100, Matthias Klose wrote:
> David Mosberger writes:
> > >>>>> On Tue, 7 Dec 2004 09:01:33 +0100, Matthias Klose <doko@cs.tu-berlin.de> 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.
> 
> works ok until building glibc with the just built
> compiler. _Unwind_Resume, _Unwind_GetRegionStart are referenced by
> glibc objects, _Unwind_GetIP, _Unwind_SetGR, _Unwind_SetGR,
> _Unwind_SetIP are referenced by libgcc_eh.a. Found in the standalone
> libunwind.a:
> 

That is wrong. Glibc doesn't use _Unwind_GetRegionStart. Glibc has its
own _Unwind_Resume, _Unwind_ForcedUnwind, _Unwind_GetCFA and
_Unwind_GetBSP.


H.J.



Reply to: