W dniu 23.11.2018 o 00:50, Edward Diener pisze: > There is a bug which in binutils which causes clang targeting mingw-64/gcc on > Windows to create a bad windows executable. The bug is explained at > https://sourceware.org/bugzilla/show_bug.cgi?id=23872 and is fixed at > https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=73af69e74974eaa155eec89867e3ccc77ab39f6d > in the binutils-gdb git repository. I understand that part of the blame for > this problem resides with clang, and I have posted a bug report with clang > that is referencing the problem I found, which may be because of the bug. > > Is it possible for me to replace the binutils executables in the latest > mingw-64 installation I have installed on Windows, which is for gcc-8.1, with > the fixed version ? If so how would I do that working on Windows ? I do have > MSYS2 installed but I do not know how to use it to rebuild the binutils for a > mingw-64 installation, if that is possible, so if anyone can offer me > guidance in doing so it would be appreciated. I am a knowledgeable C++ > programmer so I just need some sort of recipe for doing this, if it is > possible, in order to succeed.
Now I'm testing new patch for mingw-w64 so I rebuild GCC 7.3.1 with new patch and binutils from current git -- you can try if ld.exe from this binaries works for you. www.msystem.waw.pl/x265/mingw-gcc731-20181123.7z Regards, Mateusz _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public