https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118495
--- Comment #9 from Brecht Sanders <brechtsanders at users dot sourceforge.net> --- Same thing happens with --enable-languages=c,c++,fortran,d What is causing the error: "undefined reference to `__imp___p__pgmptr'" ?