Skip to content

Conversation

@bolinfest
Copy link
Collaborator

@bolinfest bolinfest commented Jun 6, 2025

Users were running into issues with glibc mismatches on arm64 linux. In the past, we did not provide a musl build for arm64 Linux because we had trouble getting the openssl dependency to build correctly. Though today I just tried the same trick in Cargo.toml that we were doing for x86_64-unknown-linux-musl (using openssl-sys with features = ["vendored"]), so I'm not sure what problem we had in the past the builds "just worked" today!

Though one tweak that did have to be made is that the integration tests for Seccomp/Landlock empirically require longer timeouts on arm64 linux, or at least on the ubuntu-24.04-arm GitHub Runner. As such, we change the timeouts for arm64 in codex-rs/linux-sandbox/tests/landlock.rs.

Though in solving this problem, I decided I needed a turnkey solution for testing the Linux build(s) from my Mac laptop, so this PR introduces .devcontainer/Dockerfile and .devcontainer/devcontainer.json to facilitate this. Detailed instructions are in .devcontainer/README.md.

We will update dotslash-config.json and other release-related scripts in a follow-up PR.

@bolinfest bolinfest force-pushed the pr1225 branch 2 times, most recently from 5bd4ce9 to 7c845c3 Compare June 6, 2025 00:27
@bolinfest bolinfest requested review from oai-ragona and wpt-oai June 6, 2025 00:37
@bolinfest
Copy link
Collaborator Author

@wpt-oai @oai-ragona it looks like the Landlock tests are failing on arm64 Linux?

@bolinfest bolinfest force-pushed the pr1225 branch 2 times, most recently from f5c9a96 to bca266f Compare June 6, 2025 03:22
@bolinfest bolinfest merged commit 9db53b3 into main Jun 6, 2025
22 checks passed
@bolinfest bolinfest deleted the pr1225 branch June 6, 2025 03:29
@github-actions github-actions bot locked and limited conversation to collaborators Jun 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants