ci: Upgrade ubuntu:25.04 for the PowerPC64LE test #990
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update the last remaining image.
For this to work, the
QEMU_CPU=POWER8
configuration needed to bedropped to avoid a new SIGILL. Doing some debugging locally, the crash
comes from an
extswsli
(perpowerpc:common64
in gdb-multiarch) inthe
ld64.so
available with PowerPC, which qemu rejects when set topower8. Testing a build with
+crt-static
hits the same issue at amaddld
in__libc_start_main_impl
.Rust isn't needed to reproduce this:
So the cross toolchain provided by Debian must have a power9 baseline
rather than rustc's power8. Alternatively, qemu may be incorrectly
rejecting these instructions (I can't find a source on whether or not
they should be available for power8). Testing instead with the
-musl
toolchain and ppc linker from musl.cc works correctly.
In any case, things work with the default qemu config so it seems fine
to drop. The env was originally added in 5d164a4 ("fix the
powerpc64le target") but whatever the problem was there appears to no
longer be relevant.