------- Comment #10 from t66667 at gmail dot com 2009-08-20 08:53 ------- Hi, I try to build a gcc-4.4.1 cross compiler target x86_64-w64-mingw32 from slackware linux 12.2 (i486-slackware-linux) and is getting the same error as this report.
Checking multilib configuration for libstdc++-v3... Configuring in x86_64-w64-mingw32/libstdc++-v3 configure: loading cache ./config.cache checking build system type... i686-pc-linux-gnu checking host system type... x86_64-w64-mingw32 checking target system type... x86_64-w64-mingw32 checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes ... checking for unistd.h... (cached) yes checking for wchar.h... (cached) yes checking for wctype.h... (cached) yes checking for ld version... 21901 checking for ld that supports -Wl,--gc-sections... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. make[1]: *** [configure-target-libstdc++-v3] Error 1 Tried attached patch "gcc-4.3.3-crosscompile-libstdc++.patch". Without success. checking for ld version... 21901 checking for ld that supports --gc-sections... yes checking for ld that supports -Wl,-z,relro... no checking for sin in -lm... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. make[1]: *** [configure-target-libstdc++-v3] Error 1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39107