if libgcc (for example) is linked statically the eh comes from the static link, however, other libraries (e.g. libfortran or libstdc++) which are still linked dynamically can refer to a different eh in libSystem.
The same problem can occur when libgfortran/libstdc++/libgcc are linked statically and libgomp remains dynamic. -- Summary: Static linking of libgcc/libgfortran/libstdc++ can cause inconsistent symbol resolution. Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: developer at sandoe-acoustics dot co dot uk GCC build triplet: *-apple-darwin* GCC host triplet: *-apple-darwin* GCC target triplet: *-apple-darwin* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41605