authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-01-05 19:49:15+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-01-06 21:15:38+01:00
log63eb3957299e187938d6634ba450eabe86deb52c
treedb61582d4603c9bce9d3be8fffe748466b66689f
parent64f5ef88808110943b6bc31e550fa7eeeec7ba04
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

ci: build test stage3 on powerpc64le-linux with long calls

Necessary to work around this: error: ld.lld: /home/ci/.cache/act/f23fdcb74e58cd75/hostexecutor/zig-global-cache/o/c67e3042d116da0f73d3129d377044bf/libc++abi.a(/home/ci/.cache/act/f23fdcb74e58cd75/hostexecutor/zig-global-cache/o/61dd7765ab891b4db54a5e49b8ab8c86/cxa_thread_atexit.o):(function __cxa_thread_atexit: .text.__cxa_thread_atexit+0x40): relocation R_PPC64_REL24_NOTOC out of range: -251925824 is not in [-33554432, 33554431]; references '__cxa_thread_atexit_impl' note: referenced by cxa_thread_atexit.cpp:116 (/home/ci/.cache/act/f23fdcb74e58cd75/hostexecutor/lib/libcxxabi/src/cxa_thread_atexit.cpp:116) note: defined in /home/ci/.cache/act/f23fdcb74e58cd75/hostexecutor/zig-global-cache/o/c67e3042d116da0f73d3129d377044bf/libc++abi.a(/home/ci/.cache/act/f23fdcb74e58cd75/hostexecutor/zig-global-cache/o/61dd7765ab891b4db54a5e49b8ab8c86/cxa_thread_atexit.o) This is only a problem for now because we link libLLVM; once we start invoking llc instead, we won't need this workaround anymore.

2 files changed, 2 insertions(+), 0 deletions(-)

ci/powerpc64le-linux-debug.sh+1
...@@ -49,6 +49,7 @@ stage3-debug/bin/zig build test docs \...@@ -49,6 +49,7 @@ stage3-debug/bin/zig build test docs \
49 -Dstatic-llvm \49 -Dstatic-llvm \
50 -Dskip-non-native \50 -Dskip-non-native \
51 -Dtarget=native-native-musl \51 -Dtarget=native-native-musl \
52 -Dcpu=native+longcall \
52 --search-prefix "$PREFIX" \53 --search-prefix "$PREFIX" \
53 --zig-lib-dir "$PWD/../lib" \54 --zig-lib-dir "$PWD/../lib" \
54 --test-timeout 4m55 --test-timeout 4m
ci/powerpc64le-linux-release.sh+1
...@@ -49,6 +49,7 @@ stage3-release/bin/zig build test docs \...@@ -49,6 +49,7 @@ stage3-release/bin/zig build test docs \
49 -Dstatic-llvm \49 -Dstatic-llvm \
50 -Dskip-non-native \50 -Dskip-non-native \
51 -Dtarget=native-native-musl \51 -Dtarget=native-native-musl \
52 -Dcpu=native+longcall \
52 --search-prefix "$PREFIX" \53 --search-prefix "$PREFIX" \
53 --zig-lib-dir "$PWD/../lib" \54 --zig-lib-dir "$PWD/../lib" \
54 --test-timeout 4m55 --test-timeout 4m