ci: fix musl static-PIE link + macOS x86_64 cross-wheel smoke test#149
Merged
rahlk merged 1 commit intoJun 8, 2026
Conversation
Two follow-ups surfaced by the re-tagged v2.3.7 run: - musl native link failed with 'read-only segment has dynamic relocations' on .svm_heap. The musl.cc gcc 11 toolchain defaults to static-PIE, which GraalVM's image heap can't satisfy. Add -H:NativeLinkerOption=-no-pie for the musl build to force a non-PIE static executable. (The earlier musl.cc download fix worked; this is the next error it exposed.) - macOS x86_64 wheel built fine but its smoke test failed: the runner's arm64 Python can't install an x86_64-tagged wheel. Run that leg's smoke test under Rosetta via the universal /usr/bin/python3 so the venv, pip install, and bundled binary are all x86_64. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
a141d99
into
146-package-codeanalyzer-java-as-a-pypi-distribution-with-pypi-releaseyml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Follow-ups surfaced by the re-tagged
v2.3.7run (#147/#148 already merged).musl:
read-only segment has dynamic relocationsThe musl.cc download fix (#148) worked — the toolchain now downloads and native-image runs. It exposed the next error: the musl.cc gcc 11 toolchain is built with
--enable-default-pie/--enable-static-pie, so-staticyields a static-PIE that the linker rejects against GraalVM's.svm_heap. Add-H:NativeLinkerOption=-no-pieto the musl build args to force a classic non-PIE static executable. (musl legs remainexperimental.)macOS x86_64: smoke test on cross-built wheel
The wheel builds fine, but the runner's arm64 Python can't install an x86_64-tagged wheel (
not a supported wheel on this platform). Run that leg's smoke test under Rosetta with the universal/usr/bin/python3, so the venv,pip install, and bundled native binary all execute as x86_64 — keeping real validation rather than skipping.🤖 Generated with Claude Code