Hello Mingw-w64 list, when I try to build my ManKai Common Lisp system (MKCL) on a recent install of mingw-w64 (under Msys2) here is what linker failure I get with GCC 6.3.0 or 6.2.0:
;;About to build shared library mkcl_1.1.10.dll build-shared-library failed: (mkcl:run-command "\"gcc\" -o \"c:\\prod\\msys64\\home\\Jean-Claude\\MKCL\\src\\mkcl_1.1.10.dll\" \"-Wl,--whole-archive\" \"c:\\prod\\msys64\\home\\Jean-Claude\\MKCL\\src\\MKCA3D6.o\" \"c:\\prod\\msys64\\home\\Jean-Claude\\MKCL\\src\\c\\all_symbols2.o\" \"c:\\prod\\msys64\\home\\Jean-Claude\\MKCL\\src\\lsp.a\" \"c:\\prod\\msys64\\home\\Jean-Claude\\MKCL\\src\\mkclmin.a\" \"c:\\prod\\msys64\\home\\Jean-Claude\\MKCL\\src\\mkclgc.a\" \"c:\\prod\\msys64\\home\\Jean-Claude\\MKCL\\src\\libmkcc1.a\" \"-Wl,--no-whole-archive\" -shared -lgmp -lm -lws2_32 ") returned non-zero value 1 Command output: C:/prod/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/6.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: c:\prod\msys64\home\Jean-Claude\MKCL\src\mkcl_1.1.10.dll(.pdata): relocation "+0x0 (type R_X86_64_RELATIVE)" goes out of range collect2.exe: error: ld returned 1 exit status If I keep the exact same setup to compile the exact same source code but using (mingw-builds) GCC 5.4.0 then the whole thing builds just fine and runs to its normal conclusion. This looks very much like a serious regression from 5.4.0 to 6.3.0. This problem, in the context of GCC 6.3.0, is a complete show-stopper that does not seem to have any obvious workaround. I am sending this to this list in the hope that this information could be relayed to the relevant party up the supply chain. Cheers, Jean-Claude Beaudoin ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today. http://sdm.link/xeonphi _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
