[Revised2][PATCH] PR41260 link with -no_compact_unwind on?darwin10 and later

Tristan Gingold gingold@adacore.com
Tue Sep 22 08:27:00 GMT 2009


On Sep 22, 2009, at 4:03 AM, Jack Howarth wrote:

>   The exception handling tests failing on darwin10 since r147995
> are due to the new dwarf unwinding information being added
> to describe the function epilog. This breaks the unwinding
> under darwin10 since the unwinder used is always from libSystem
> (based on that from libgcc in gcc 4.2.1) which doesn't expect
> this additional information. The attached patch takes the second
> option of passing -no_compact_unwind onto the linkage for darwin10
> or later. This eliminates all of the regressions from r147995...
>
> http://gcc.gnu.org/ml/gcc-testresults/2009-09/msg01761.html

Nice!

One question however: does this fix -static-libgcc ?  I am not sure  
about that.

Tristan.



More information about the Gcc-patches mailing list