Bug#284563: libunwind in unstable
David Mosberger writes:
> >>>>> On Tue, 7 Dec 2004 09:01:33 +0100, Matthias Klose <firstname.lastname@example.org> 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
0000000000000000 g F .text 0000000000000060 .protected _Unwind_GetRegionStart
0000000000000000 *UND* 0000000000000000 _ULia64_get_proc_info
0000000000000000 g F .text 0000000000000060 __libunwind_Unwind_GetRegionStart
a quick fix is to undefine the PROTECTED macro in unwind-0.98.3,
surely not the right thing to do?