[Bug target/47558] 163267 breaks exception traceback in xplor-nih

iains at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 1 15:50:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47558

--- Comment #17 from Iain Sandoe <iains at gcc dot gnu.org> 2011-02-01 15:50:44 UTC ---
I guess you could make the requirement to link libSystem before (and after)
libgcc_ext explicit like this:

Index: gcc/config/darwin10.h
===================================================================
--- gcc/config/darwin10.h    (revision 169471)
+++ gcc/config/darwin10.h    (working copy)
@@ -23,3 +23,6 @@ unwinder in libSystem is fixed to digest new epilo

 #undef LIB_SPEC
 #define LIB_SPEC "%{!static:-no_compact_unwind -lSystem}"
+
+#undef  LINK_GCC_C_SEQUENCE_SPEC
+#define LINK_GCC_C_SEQUENCE_SPEC "%L %G %L"

=======

better than having a side-effect of a stub library achieving the same thing.

but it would still be worth knowing how many (if any) programs actually require
flag namespace.



More information about the Gcc-bugs mailing list