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

Mike Stump mrs@apple.com
Tue Sep 22 01:11:00 GMT 2009


On Sep 21, 2009, at 4:44 PM, Jack Howarth wrote:
> but just...
>
> +#define LIB_SPEC "%{!static: -no_compact_unwind -lSystem}"

Right (in darwin10.h).

> Thia will ensure that binaries built targeting 10.5 on SL will
> work properly on SL itself.

Yes.

> Also, if I understand Nick's comments
> correctly, compact unwinding only got defaulted on in SL so
> we are basically just restoring the default behavior of Leopard
> when compiling with FSF gcc 4.5 on Snow Leopard, right?

Yes.



More information about the Gcc-patches mailing list