This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, ia64, libgcc] Patch to fix libunwind build on IA64
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: sje at cup dot hp dot com
- Cc: gcc-patches at gcc dot gnu dot org, matz at suse dot de
- Date: Fri, 18 Nov 2011 18:37:53 +0100
- Subject: Re: [patch, ia64, libgcc] Patch to fix libunwind build on IA64
- References: <201111181724.pAIHOMd10963@adlwrk05.cce.hp.com>
Steve Ellcey <sje@cup.hp.com> writes:
> This patch fixes the IA64 bootstrap when building libunwind. When using
> -fexceptions libunwind will have a reference to __gcc_personality_v0 and
> the bootstrap fails, using -fno-exceptions fixes this. This problem
> started with r181172, Michael Matz's fix to mark objects death at end of
> scope.
>
> Tested on IA64 HP-UX and Linux.
>
> While this change isn't in an ia64 specific file, ia64 is the only
> platform affected because no other platform defines LIBUNWIND in order
> to build a separate unwind library. So I will go ahead and check it in
> if there are no objections.
I think there should be a comment explaining this to avoid involuntarily
breaking this in the future ;-)
Thanks.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University