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. Steve Ellcey s...@cup.hp.com 2011-11-18 Steve Ellcey <s...@cup.hp.com> * Makefile.in (c_flags): Set to -fno-exceptions to build libunwind. Index: Makefile.in =================================================================== --- Makefile.in (revision 181466) +++ Makefile.in (working copy) @@ -829,7 +829,7 @@ endif # Build LIBUNWIND. -c_flags := -fexceptions +c_flags := -fno-exceptions libunwind-objects += $(addsuffix $(objext),$(basename $(notdir $(LIBUNWIND))))