Skip to content

chore: bump clang to v20#6009

Draft
ggreif wants to merge 3 commits intogabor/nixpkgs-canaryfrom
gabor/clang-20
Draft

chore: bump clang to v20#6009
ggreif wants to merge 3 commits intogabor/nixpkgs-canaryfrom
gabor/clang-20

Conversation

@ggreif
Copy link
Copy Markdown
Contributor

@ggreif ggreif commented Apr 12, 2026

The linker wasm-ld has changed. It is necessary to check whether the now missing export is in any way a problem.

Wait till we are on nixpkgs-26.05.

After this bump I don't expect problems with moving to clang-21. Then the nix closure will only contain a single clang!

@ggreif ggreif changed the base branch from master to gabor/nixpkgs-canary April 12, 2026 15:57
Comment thread rts/Makefile
fmodf \
log

EXPORTED_SYMBOLS_64=\
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is dead code. None of our RTS libraries export it.

@ggreif ggreif self-assigned this Apr 12, 2026
@ggreif ggreif added the dependencies Pull requests that update a dependency file label Apr 12, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 12, 2026

Comparing from 33564e9 to d9c425b:
In terms of gas, 1 tests improved and the mean change is -0.0%.
In terms of size, 5 tests improved and the mean change is -0.0%.

@ggreif ggreif force-pushed the gabor/nixpkgs-canary branch from f1788b7 to 9f6c398 Compare April 17, 2026 10:37
\`wasm-ld\` shipped with clang 20 drops the empty
\`__wasm_apply_data_relocs\` function (no relocations apply for this
test) and folds \`link_start.1\` (the wrapper that called
\`__wasm_apply_data_relocs\` then \`link_start\`) into a direct
\`(start \$link_start)\`. Output is functionally equivalent.

Diff applied verbatim from CI run 24940122512.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant