http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46625
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-12-01 12:47:13 UTC --- Regarding the mangled symbols: As http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/11b3845e961393bc shows there is a real-world issue with MinGW64 and static linking as MinGW64 also uses gdtoa. MinGW64 now mangles the symbols using gdtoaimp.h by using #define <symbol_D2A> <prefix>_<symbol_D2A> with a suitable __prefix.