While trying to walk through the unwinder under darwin9 in current gcc trunk, I discovered that we are now linking against multiple libgcc in all of the shared libraries...
otool -L libffi.4.dylib libffi.4.dylib: /sw/lib/gcc4.5/lib/libffi.4.dylib (compatibility version 5.0.0, current version 5.1.0) /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /sw/lib/gcc4.5/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.4) except for /usr/lib/libgcc_s.1.dylib itself. This is very bad and breaks the ability to walk through the unwinder in darwin9 (which works in gcc 4.4.2 that doesn't show this problem). -- Summary: gcc trunk incorrectly linking against /usr/lib/libgcc_s.1.dylib Product: gcc Version: 4.4.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: howarth at nitro dot med dot uc dot edu GCC build triplet: x86_64-apple-darwin* GCC host triplet: x86_64-apple-darwin* GCC target triplet: x86_64-apple-darwin* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42208