This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Andrew Pinski wrote:

>   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).

Yes, this is fine for Java.  It would be better to have an autoconf check
for _Unwind_GetIPInfo, but this will do.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]