The command itself (present in logs): x86_64-w64-mingw32-objcopy --only-keep-debug debug/sweepToolV1.exe debug/sweepToolV1.exe.debug
from standalone MinGW
It's w64 of course. I used Cygwin's MinGW for backtrace because of easily accessible debug info, the same problem happens with standalone MinGW w64 (GCC 5.4.0, binutils 2.25).
It seems to be specific to x86-64 binutils.
Last edit: Baykalov Pyotr 2018-02-19
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The command itself (present in logs):
x86_64-w64-mingw32-objcopy --only-keep-debug debug/sweepToolV1.exe debug/sweepToolV1.exe.debugIt's w64 of course. I used Cygwin's MinGW for backtrace because of easily accessible debug info, the same problem happens with standalone MinGW w64 (GCC 5.4.0, binutils 2.25).
It seems to be specific to x86-64 binutils.
Last edit: Baykalov Pyotr 2018-02-19
A year later ran into the same issue, same command parameters, same backtrace. Setup: mingw64/mingw-w64-x86_64-binutils 2.30-5 under msys2.
If anyone's interested, the bug seems to have been fixed in version mingw-w64-binutils-2.31.1-2 of msys2 project.