https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69506
Roger Pack <rogerpack2005 at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rogerpack2005 at gmail dot com --- Comment #8 from Roger Pack <rogerpack2005 at gmail dot com> --- FWIW gcc 6.1.0 builds itself fine with mingw-w64, but then linking with it (not sure why or what's at fault), in this instance with ffmpeg: cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/libstdc++.a(cow-stdexcept.o):(.text$_Z35_txnal_cow_string_C1_for_exceptionsPvPKcS_+0x2c): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_ITM_RU1' cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/libstdc++.a(cow-stdexcept.o):(.text$_Z35_txnal_cow_string_C1_for_exceptionsPvPKcS_+0x39): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `transaction clone for operator new[](unsigned long long)' cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/libstdc++.a(cow-stdexcept.o):(.text$_Z35_txnal_cow_string_C1_for_exceptionsPvPKcS_+0x5d): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_ITM_memcpyRtWn' cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/libstdc++.a(cow-stdexcept.o):(.text$_Z23_txnal_cow_string_c_strPKv+0x1): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_ITM_RU8' cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/libstdc++.a(cow-stdexcept.o):(.text$_Z23_txnal_sso_string_c_strPKv+0x1): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_ITM_RU8' cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/libstdc++.a(cow-stdexcept.o):(.text$_Z20_txnal_cow_string_D1Pv+0x5): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_ITM_RU8' cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/libstdc++.a(cow-stdexcept.o):(.text$_Z20_txnal_cow_string_D1Pv+0x1e): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_ITM_addUserCommitAction' cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/libstdc++.a(cow-stdexcept.o):(.text$_ZGTtNSt11logic_errorC1EPKc+0x2e): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_ITM_memcpyRnWt' cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/libstdc++.a(cow-stdexcept.o):(.text$_ZGTtNSt11logic_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x2e): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_ITM_memcpyRnWt' cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/libstdc++.a(cow-stdexcept.o):(.text$_ZGTtNSt11logic_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x36): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_ITM_RU8' cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/libstdc++.a(cow-stdexcept.o):(.text$_ZGTtNSt11logic_errorD0Ev+0x1a): additional relocation overflows omitted from the output collect2: error: ld returned 1 exit status Makefile:131: recipe for target 'ffplay_g.exe' failed make: *** [ffplay_g.exe] Error 1 make: *** Waiting for unfinished jobs.... cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/libstdc++.a(cow-stdexcept.o):(.text$_Z35_txnal_cow_string_C1_for_exceptionsPvPKcS_+0x2c): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_ITM_RU1' cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/libstdc++.a(cow-stdexcept.o):(.text$_Z35_txnal_cow_string_C1_for_exceptionsPvPKcS_+0x39): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `transaction clone for operator new[](unsigned long long)' cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/libstdc++.a(cow-stdexcept.o):(.text$_Z35_txnal_cow_string_C1_for_exceptionsPvPKcS_+0x5d): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_ITM_memcpyRtWn' cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/libstdc++.a(cow-stdexcept.o):(.text$_Z23_txnal_cow_string_c_strPKv+0x1): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_ITM_RU8' cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/libstdc++.a(cow-stdexcept.o):(.text$_Z23_txnal_sso_string_c_strPKv+0x1): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_ITM_RU8' cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/libstdc++.a(cow-stdexcept.o):(.text$_Z20_txnal_cow_string_D1Pv+0x5): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_ITM_RU8' cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/libstdc++.a(cow-stdexcept.o):(.text$_Z20_txnal_cow_string_D1Pv+0x1e): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_ITM_addUserCommitAction' cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/libstdc++.a(cow-stdexcept.o):(.text$_ZGTtNSt11logic_errorC1EPKc+0x2e): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_ITM_memcpyRnWt' cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/libstdc++.a(cow-stdexcept.o):(.text$_ZGTtNSt11logic_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x2e): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_ITM_memcpyRnWt' cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/libstdc++.a(cow-stdexcept.o):(.text$_ZGTtNSt11logic_errorC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x36): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_ITM_RU8' cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/libstdc++.a(cow-stdexcept.o):(.text$_ZGTtNSt11logic_errorD0Ev+0x1a): additional relocation overflows omitted from the output collect2: error: ld returned 1 exit status