http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57421
--- Comment #5 from Jürgen Reuter <juergen.reuter at desy dot de> --- Well, we have Fortran 2003 code into which via Bind(C) some c++ code is linked. For static builds, on MAC OS X because of the properties of the single-pass linker we need to explicitly link the C++ static library libstc++. Using this with the flags you mentioned does not change anything, unfortunately.