WhyNotHugo opened PR #13489 from WhyNotHugo:release-36.0.0-s390x/musl to bytecodealliance:release-36.0.0:
Patch-Source: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/83794
WhyNotHugo requested dicej for a review on PR #13489.
WhyNotHugo requested wasmtime-core-reviewers for a review on PR #13489.
alexcrichton unassigned dicej from PR #13489 LTS: Fix build failure on s390x/musl.
alexcrichton requested alexcrichton for a review on PR #13489.
:memo: alexcrichton submitted PR review:
Thanks for the PR. To confirm, have you run this code and tested it? I ask because the
fpin the glibc case does a dereference of the 15th register, but the code here does not do a dereference. That looks like a bug to me, but I wanted to ask. If you haven't tested this I'm personally a bit hesitant to land this because it's generally much more difficult to diagnose these sorts of issues after it lands.Additionally, do you know the status of exposing the context structures in musl?
And, finally, can you send this PR to the
mainbranch first, and then cherry-pick it for a backport once it's accepted onmain? We don't have a ton of precedent here but I think it'd be best to land things onmainfirst and then backport from there.
github-actions[bot] added the label wasmtime:api on PR #13489.
WhyNotHugo commented on PR #13489:
We built the downstream Alpine packages with this patch, and https://github.com/open-policy-agent/opa (a dependency of wasmtime) built fine with it and passes all tests.
I was also going to say that all tests passed with this patch, but noticed that tests were actually disabled for the wasmtime package. I enabled them and some tests actually fail even with this patch, so I'll inspect closer and report back.
WhyNotHugo converted PR #13489 LTS: Fix build failure on s390x/musl to a draft.
:memo: alexcrichton submitted PR review.
:speech_balloon: alexcrichton created PR review comment:
Thanks for running tests! I think this may be at least one minor issue (it's different from the
fpdefinition above which reads memory). I'm not sure ifS390xRegsis the correct definition, as well.Also, and I'm sorry for lots of comments, but mind renaming
S390xRegstoucontext_t? That matches the intention of the structure where it's matching the C definition ofucontext_t
Last updated: Jun 01 2026 at 09:49 UTC