[patch libbacktrace]: Fix undeclared-symbols warning for SjLj-targets

2013-01-18 Thread Kai Tietz
Hi, this patch cleans up a undeclared-symbol issue in libbacktrace. ChangeLog 2013-01-18 Kai Tietz kti...@redhat.com * backtrace.c (_Unwind_GetIPInfo): Add prototype. * simple.c (_Unwind_GetIPInfo): Likewise. Tested for x86_64-w64-mingw32, and i686-w64-mingw32. Ok for apply?

Re: [patch libbacktrace]: Fix undeclared-symbols warning for SjLj-targets

2013-01-18 Thread Jakub Jelinek
On Fri, Jan 18, 2013 at 11:05:11AM +0100, Kai Tietz wrote: this patch cleans up a undeclared-symbol issue in libbacktrace. It is prototyped in unwind.h, at least should be. 2013-01-18 Kai Tietz kti...@redhat.com * backtrace.c (_Unwind_GetIPInfo): Add prototype. * simple.c

Re: [patch libbacktrace]: Fix undeclared-symbols warning for SjLj-targets

2013-01-18 Thread Kai Tietz
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.

Re: [patch libbacktrace]: Fix undeclared-symbols warning for SjLj-targets

2013-01-18 Thread Jakub Jelinek
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