#5895: Configure error with GCC 6.2.0 and libsnappy -------------------------------------+------------------------------------- Reporter: Zeranoe | Type: defect Status: new | Priority: important Component: build | Version: git- system | master Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- When using MinGW-w64 and GCC 6.2.0 and configuring with {{{ --enable-libsnappy }}} the configure process errors with relocation overflows.
There are numerous overflow errors, but the first is {{{ libstdc++.a(cow-stdexcept.o): In function `_txnal_cow_string_C1_for_exceptions(void*, char const*, void*)': cow- stdexcept.cc:236:(.text$_Z35_txnal_cow_string_C1_for_exceptionsPvPKcS_+0x2c): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_ITM_RU1' }}} This appears to be happening because of the ldflag {{{ -Wl,--image-base,0x140000000 }}} added on line 4769 in configure, and removing this ldflag resolves the issue for me. This ldflag was added with commit a58c22d61260941fc651add73836882d5b112fdb -- Ticket URL: <https://trac.ffmpeg.org/ticket/5895> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://ffmpeg.org/mailman/listinfo/ffmpeg-trac