https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107603
Bug ID: 107603 Summary: checking for ld that supports -Wl,--gc-sections... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. for i686-w64-mingw32 target Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: unlvsur at live dot com Target Milestone: --- checking xlocale.h presence... no checking for xlocale.h... no checking for ld version... 23950 checking for ld that supports -Wl,--gc-sections... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. make[1]: *** [Makefile:13677: configure-target-libstdc++-v3] Error 1 make[1]: Leaving directory '/home/cqwrteur/toolchains_build/gcc_build/x86_64-w64-mingw32/i686-w64-mingw32/gcc' make: *** [Makefile:1043: all] Error 2