Skip to content

Build Linux binaries on Ubuntu 22.04 - #21

Merged
dj2 merged 1 commit into
dawn-gpu:mainfrom
slimbuck:linux-22
Sep 30, 2026
Merged

dj2 merged 1 commit into
dawn-gpu:mainfrom
slimbuck:linux-22

Conversation

@slimbuck

@slimbuck slimbuck commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Fixes https://issues.chromium.org/issues/567909981

Moves the Linux x64 and ARM64 builds back to Ubuntu 22.04 so the published dawn.node loads on 22.04 again.

Since 0.5.0 the Linux binaries are built on 24.04 and require newer system libraries than 22.04 provides:

linux-x64 dawn.node Built on glibc libstdc++
0.4.0 22.04 2.34 GLIBCXX_3.4.30
0.6.1 24.04 2.38 GLIBCXX_3.4.32
Ubuntu 22.04 provides 2.35 GLIBCXX_3.4.30

The new requirements come from __isoc23_strtol and related functions (glibc 2.38 headers) and two GCC 13 libstdc++ symbols. They're inherent to the 24.04 toolchain, so no build flag avoids them.

The move to 24.04 (a3d7101) happened while fixing the Linux build after a Dawn update. The failure at the time, Failed to find wayland-scanner, also hit the ARM64 job that was already on 24.04, and -DDAWN_USE_WAYLAND=OFF has since fixed it. This restores the 22.04 build from #7. ARM64 moves to ubuntu-22.04-arm for the same reason; it has required glibc 2.38 since it was added.

@slimbuck

Copy link
Copy Markdown
Contributor Author

Checked the linux-x64 artifact from this PR's CI run: dawn.node now needs at most glibc 2.34 and GLIBCXX_3.4.30, the same as 0.4.0 and down from glibc 2.38 and GLIBCXX_3.4.32 in 0.6.1. Both are within what Ubuntu 22.04 provides (glibc 2.35, GLIBCXX_3.4.30), and npm test passed on the 22.04 runners for both x64 and ARM64.

@dj2
dj2 merged commit edac7f5 into dawn-gpu:main Sep 30, 2026
6 checks passed
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