This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [PATCH] Fix PR target/38300 libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo for darwin before 9
- From: Andrew Haley <aph at redhat dot com>
- To: Andrew Pinski <pinskia at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Java Patch List <java-patches at gcc dot gnu dot org>, libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Thu, 18 Dec 2008 10:15:40 +0000
- Subject: Re: [PATCH] Fix PR target/38300 libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo for darwin before 9
- References: <de8d50360811281843y707dc62bk978bc053ccfe0510@mail.gmail.com> <de8d50360812171841lc0a4ba1x427f89e9fa45d19c@mail.gmail.com>
Andrew Pinski wrote:
> 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?
I suppose so, but why on earth are we doing this? Autoconf could
simply test for _Unwind_GetIPInfo.
Andrew.