[PATCH] Fix PR target/38300 libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo for darwin before 9

Andrew Pinski pinskia@gmail.com
Thu Dec 18 04:41:00 GMT 2008

On Fri, Nov 28, 2008 at 6:43 PM, Andrew Pinski <pinskia@gmail.com> wrote:
> Hi,
>  The problem here is after the fix for PR 27880, libstc++ and libgcj
> started to have a reference to _Unwind_GetIPInfo for darwin.  Darwin 8
> and before did not have _Unwind_GetIPInfo in its shared library
> version of libgcc (this is a decision made by the target maintainers
> and was a deliberate one at that).  I fixed it by saying darwin 8 and
> before does not have _Unwind_GetIPInfo in GCC_CHECK_UNWIND_GETIPINFO.
> OK? Bootstrapped and tested on i386-darwin8.11 with no regressions
> (plus it fixes the bootstrap failure I was having).

Here is updated patch which takes into the comments to the patch in
the bug report.

OK? Bootstrapped and tested on i386-darwin8.11 with no regressions.

* unwind_ipinfo.m4: Darwin before 9 does not have _Unwind_GetIPInfo.

* configure: Regenerate.

* configure: Regenerate.

* configure: Regenerate.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fixdarwin.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20081218/6fced102/attachment.txt>

More information about the Gcc-patches mailing list