https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63610
--- Comment #7 from howarth at bromo dot med.uc.edu --- I can confirm that there are many regressions (particularly in the fortran test suite) on Yosemite due to the libtool bug which causes shared libraries to be linked as if the target was Puma. The attached convenience patch solves the issue (which should only be triggered if MACOSX_DEPLOYMENT_TARGET is being set). The fix is of the form... Index: gcc-4.9.1/gcc/configure =================================================================== --- gcc-4.9.1.orig/gcc/configure +++ gcc-4.9.1/gcc/configure @@ -14415,7 +14415,7 @@ $as_echo "$lt_cv_ld_force_load" >&6; } case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[91]*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; - 10.[012]*) + 10.[012][,.]*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;