On Fri, Jan 18, 2013 at 11:39:41AM +0100, Kai Tietz wrote:
> Sure, it is.  But the point is that system's unwind.h header is used
> over the local one.  So if you have an older gcc to build, you might
> get the wrong unwind.h header.  I admit that this patch is a kludge
> but fixes issue I have with bootstrap cross on cygwin by using a gcc
> 3.4.4 compiler.

If you are using system gcc unwind.h, supposedly you are using system libgcc
too, and I'd expect if _Unwind_GetIPInfo isn't prototyped in unwind.h, then
it isn't available in libgcc{_eh.a,_s.so} either.  So libbacktrace
supposedly needs to check for that and fall back to using _Unwind_GetIP
instead.  But, we already have HAVE_GETIPINFO there, so the question is why
configure misbehaves for it if you don't have it in unwind.h ?

        Jakub

Reply via email to