Skip to content

Conversation

@alexcrichton
Copy link
Collaborator

@alexcrichton alexcrichton commented Nov 7, 2025

In componentize-py Joel's building custom wasi-sdk binaries for more
Linux compat which is what maturin, the build tool use there, desires. I
don't think there's a concrete reason to have a higher Linux version
here, so let's lower it in wasi-sdk itself.

This commit switches the build container from Ubuntu 20.04 (glibc 2.31)
to AlmaLinux 8 (glibc 2.28). The AlmaLinux container is what Wasmtime
uses, for example, and has supported security updates to 2029 and is I
believe intended to be used for purposes such as this.

In componentize-py Joel's building custom wasi-sdk binaries for more
Linux compat which is what maturin, the build tool use there, desires. I
don't think there's a concrete reason to have a higher Linux version
here, so let's lower it in wasi-sdk itself.

This commit switches the build container from Ubuntu 20.04 (glibc 2.31)
to AlmaLinux 8 (glibc 2.28). The AlmaLinux container is what Wasmtime
uses, for example, and has supported security updates to 2029 and is I
believe intended to be used for purposes such as this.
@alexcrichton alexcrichton force-pushed the lower-wasi-sdk-version branch from d4bd8e9 to aa1d25b Compare November 7, 2025 20:48
@alexcrichton alexcrichton changed the title Lower Linux builders to 18.04 instead of 20.04 Lower linux glibc requirement from 2.31 to 2.28 Nov 7, 2025
@alexcrichton alexcrichton merged commit a1c93a0 into WebAssembly:main Nov 10, 2025
9 checks passed
@alexcrichton alexcrichton deleted the lower-wasi-sdk-version branch November 10, 2025 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants