Windows-on-ARM-Experiments / mingw-woarm64-build

Workflows and build scripts for Windows on Arm64 GNU cross-compiler for `aarch64-w64-mingw32` target.
GNU General Public License v2.0
32 stars 4 forks source link

Relocation overflow issue when building FFmpeg with `-O3` #100

Closed Blackhex closed 3 months ago

Blackhex commented 9 months ago

Building FFmpeg library withing this repository's CI fails on:

/tmp/ccus88mu.s: Assembler messages:
  /tmp/ccus88mu.s:36162: Error: relocation overflow
  /tmp/ccus88mu.s:37074: Error: relocation overflow
  /tmp/ccus88mu.s:37918: Error: relocation overflow
  make: *** [/home/runner/work/mingw-woarm64-build/mingw-woarm64-build/code/ffmpeg-master/ffbuild/common.mak:81: libavutil/tx_double.o] Error 1
  make: *** Waiting for unfinished jobs....
  /tmp/ccyzyRCP.s: Assembler messages:
  /tmp/ccyzyRCP.s:38195: Error: relocation overflow
  make: *** [/home/runner/work/mingw-woarm64-build/mingw-woarm64-build/code/ffmpeg-master/ffbuild/common.mak:81: libavutil/tx_float.o] Error 1
  /tmp/ccHD5wgR.s: Assembler messages:
  /tmp/ccHD5wgR.s:46198: Error: relocation overflow
  /tmp/ccHD5wgR.s:47547: Error: relocation overflow
  /tmp/ccHD5wgR.s:47552: Error: relocation overflow
  make: *** [/home/runner/work/mingw-woarm64-build/mingw-woarm64-build/code/ffmpeg-master/ffbuild/common.mak:81: libavutil/tx_int32.o] Error 1
  Error: Process completed with exit code 2.

see, https://github.com/Windows-on-ARM-Experiments/mingw-woarm64-build/actions/runs/7754068811/job/21146646696#step:7:3086 for details.

eukarpov commented 3 months ago

Fixed by https://github.com/Windows-on-ARM-Experiments/gcc-woarm64/pull/23 and https://github.com/Windows-on-ARM-Experiments/binutils-woarm64/pull/2 Validate by https://github.com/Windows-on-ARM-Experiments/mingw-woarm64-build/pull/142