This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9
- From: "howarth at nitro dot med.uc.edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 25 Oct 2012 19:38:07 +0000
- Subject: [Bug target/55061] libbacktrace build fails during bootstrap on powerpc-apple-darwin9
- Auto-submitted: auto-generated
- References: <bug-55061-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061
--- Comment #20 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-10-25 19:38:07 UTC ---
This testcase should work for powerpc-apple-darwin9...
----------------------------------------------------
#include "unwind.h"
int
main()
{
struct _Unwind_Context *context;
int ip_before_insn = 0;
return _Unwind_GetIPInfo (context, &ip_before_insn);
}
----------------------------------------------------
It produces...
$ gcc -Werror-implicit-function-declaration -c test.c
test.c: In function 'main':
test.c:9: error: implicit declaration of function '_Unwind_GetIPInfo'
and
$ gcc-4.2 -Werror-implicit-function-declaration -c test.c
$