This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/44107] libstdc++ (dylib) is built with an erroneous dependency towards /usr/lib
- From: "iains at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 19 Mar 2011 15:06:16 +0000
- Subject: [Bug bootstrap/44107] libstdc++ (dylib) is built with an erroneous dependency towards /usr/lib
- Auto-submitted: auto-generated
- References: <bug-44107-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44107
--- Comment #5 from Iain Sandoe <iains at gcc dot gnu.org> 2011-03-19 15:06:07 UTC ---
in addition to the attachment at c #4 - you'll also need this:
Index: gcc/toplev.c
===================================================================
--- gcc/toplev.c (revision 171158)
+++ gcc/toplev.c (working copy)
@@ -1338,9 +1338,10 @@ process_options (void)
if (flag_rename_registers == AUTODETECT_VALUE)
flag_rename_registers = flag_unroll_loops || flag_peel_loops;
- if (flag_non_call_exceptions)
+ if (flag_non_call_exceptions
+ && !global_options_set.x_flag_asynchronous_unwind_tables)
flag_asynchronous_unwind_tables = 1;
- if (flag_asynchronous_unwind_tables)
+ if (flag_asynchronous_unwind_tables || flag_non_call_exceptions)
flag_unwind_tables = 1;
if (flag_value_profile_transformations)