Closed Blackhex closed 2 months ago
This PR has non-observable effect on x64 testing (https://github.com/Windows-on-ARM-Experiments/mingw-woarm64-build/actions/runs/10307874341) because the host system already contains x64 assembler but fixes test failures when x64 assembler is used for aarch64 testing. In other words, it prefers binutils produced by the build over the sytem ones.
Allows to run native tests using WSL interop increasing the number of tests executed from ~400k to ~800k and fixes test failures like:
Executing on host: /root/mingw-woarm64-build/build-aarch64-w64-mingw32-msvcrt/gcc/gcc/xgcc -B/root/mingw-woarm64-build/build-aarch64-w64-mingw32-msvcrt/gcc/gcc/ -fdiagnostics-plain-output -O1 -w -c -o pr106433.o /root/mingw-woarm64-build/code/gcc-master/gcc/testsuite/gcc.c-torture/compile/pr106433.c (timeout = 300) spawn -ignore SIGHUP /root/mingw-woarm64-build/build-aarch64-w64-mingw32-msvcrt/gcc/gcc/xgcc -B/root/mingw-woarm64-build/build-aarch64-w64-mingw32-msvcrt/gcc/gcc/ -fdiagnostics-plain-output -O1 -w -c -o pr106433.o /root/mingw-woarm64-build/code/gcc-master/gcc/testsuite/gcc.c-torture/compile/pr106433.c /tmp/ccu7EAi0.s: Assembler messages: /tmp/ccu7EAi0.s:43: Error: unknown pseudo-op: `.variant_pcs' /tmp/ccu7EAi0.s:92: Error: unknown pseudo-op: `.variant_pcs' /tmp/ccu7EAi0.s:152: Error: unknown pseudo-op: `.variant_pcs' /tmp/ccu7EAi0.s:201: Error: unknown pseudo-op: `.variant_pcs' compiler exited with status 1
This PR has non-observable effect on x64 testing (https://github.com/Windows-on-ARM-Experiments/mingw-woarm64-build/actions/runs/10307874341) because the host system already contains x64 assembler but fixes test failures when x64 assembler is used for aarch64 testing. In other words, it prefers binutils produced by the build over the sytem ones.
Allows to run native tests using WSL interop increasing the number of tests executed from ~400k to ~800k and fixes test failures like: