Skip to content

Cherry-pick https://github.com/llvm/llvm-project/pull/241052 - #28279

Merged
dschuff merged 3 commits into
emscripten-core:mainfrom
dschuff:fix-warn
Nov 17, 2026
Merged

dschuff merged 3 commits into
emscripten-core:mainfrom
dschuff:fix-warn

Conversation

@dschuff

@dschuff dschuff commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Upstream commit llvm/llvm-project@64969db
fixes compiler-rt under new compiler warnings in
llvm/llvm-project#237374

@dschuff
dschuff requested review from aheejin and sbc100 November 17, 2026 00:10

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request adds the -Wno-unused-private-field compiler flag to CompilerRTLibrary in tools/system_libs.py to temporarily suppress warnings until the vendored copy of compiler-rt is updated. The review comment points out a typo in the warning name and an incorrect commit hash in the added TODO comment, providing a helpful code suggestion to correct these details.

Comment thread tools/system_libs.py Resolved
@dschuff
dschuff enabled auto-merge (squash) November 17, 2026 00:11
@sbc100

sbc100 commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator

Not that it really matters but would be be easy to narrow this down to just the santizer libs? Maybe not easy common place to specify that?

@aheejin

aheejin commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Can't we just apply llvm/llvm-project@64969db? We do apply some upstream library changes earlier than the fixed library update schedule when necessary, e.g., #27753. Also, then in the next LLVM release update we don't need to do anything.

@sbc100

sbc100 commented Nov 17, 2026

Copy link
Copy Markdown
Collaborator

Can't we just apply llvm/llvm-project@64969db? We do apply some upstream library changes earlier than the fixed library update schedule when necessary, e.g., #27753. Also, then in the next LLVM release update we don't need to do anything.

Yes, that does seem better.. you can even mention it in the README.md

@dschuff

dschuff commented Nov 17, 2026

Copy link
Copy Markdown
Member Author

Do you mean just update compiler-rt all the way to that revision? or more like a cherry-pick?

@aheejin

aheejin commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Cherry-picking llvm/llvm-project@64969db (manually, because it's a different repo)

Upstream commit llvm/llvm-project@64969db
fixes compiler-rt under new compiler warnings in
llvm/llvm-project#237374
@dschuff dschuff changed the title Add -Wno-unused-private-field to compiler-rt Cherry-pick https://github.com/llvm/llvm-project/pull/241052 Nov 17, 2026
@dschuff

dschuff commented Nov 17, 2026

Copy link
Copy Markdown
Member Author

Updated to turn this into a cherry-pick. I'm not sure it's worth updating the README though, it's not user-facing at all.

@dschuff
dschuff merged commit 27112e6 into emscripten-core:main Nov 17, 2026
43 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.

3 participants