http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55061



--- Comment #13 from Jack Howarth <howarth at nitro dot med.uc.edu> 2012-10-25 
13:47:21 UTC ---

% grep Unwind_GetIPInfo 

/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/unwind.h

% extern _Unwind_Ptr _Unwind_GetIPInfo (struct _Unwind_Context *, int *);



% grep Unwind_GetIPInfo 

/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/include/unwind.h

%



FYI, the original configure test for _Unwind_GetIPInfo was added in this

PR26792...



http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26792#c11



I think this is a latent issue created by this commit...



r141804 | sje | 2008-11-12 16:35:46 -0500 (Wed, 12 Nov 2008) | 9 lines



        PR  target/27880



        * config/unwind_ipinfo.m4 (GCC_CHECK_UNWIND_GETIPINFO): Change from

        link test to target based test.

        * libstdc++/v3/configure.ac: Move call to GCC_CHECK_UNWIND_GETIPINFO.

        * libstdc++/v3/configure: Regenerate.

        * libjava/configure: Regenerate.



which doesn't take in account that on darwin9 only the gcc-4.2.1 compiler

provides _Unwind_GetIPInfo  through

/usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/unwind.h. This is a broken

test since gcc-4.2.1 isn't the default system compiler on

powerpc-apple-darwin9.

Reply via email to