http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55696
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-12-14 21:20:44 UTC --- So you are using two separate compiled GCC. Both gfortran -lstdc++ is using the system library rather than the one which is used for gcc.