[LLVMdev] OT: intel darwin losing primary target status

Nick Kledzik kledzik at apple.com
Fri Sep 18 09:21:52 PDT 2009

This may be that the libgcc_s.dylib based unwinder is incompatible  
with the darwin unwinder.  You cannot mix and match the two.  One of  
the lines from the bugzilla comments shows:
/sw/lib/gcc4.5/lib/libgcc_s.1.dylib (compatibility version 1.0.0,
being used.   That will not work.  All of the libgcc_s.dylib  
functionality has been subsumed into libSystem.dylib on SnowLeopard  
(darwin10).   The gcc compiler that shipped with SnowLeopard leaves  
the -lgcc_s off the link line when targeting SnowLeopard.   If there  
is a newer libgcc_s with new functions added, then the link line needs  
to change to "-lSystem -lgcc_s", that way the linker will find the  
most routines in libSystem.dylib and only the new functions from  
libgcc_s.dylib.  Thus all linkage units will use the same unwinder.


On Sep 18, 2009, at 8:16 AM, Jack Howarth wrote:
>  I realize this is off-topic for the list, but I thought
> all the darwin developers here might want to be aware of
> this. The current regressions in gcc trunk regarding
> exception handling has been escalated to a P1 in order to
> attract darwin developers to the issue...
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41260#c31
> If these regressions aren't fixed before gcc 4.5's release,
> it appears the *-*-darwin will be removed from the primary
> target list for FSF gcc. This would be rather unfortunate
> since it would eventually compromise the quality of fortran
> compilers that darwin users have access to. Hopefully the
> current darwin maintainers listed for FSF gcc can find some
> approach acceptable to their management where the other
> FSF gcc developers can be guided through debugging and
> fixing this regression.
>                Jack
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

More information about the llvm-dev mailing list