Move the wasi sysroot toolchain alias to clang 22
Categories
(Firefox Build System :: Toolchains, task)
Tracking
(firefox156 fixed)
| Tracking | Status | |
|---|---|---|
| firefox156 | --- | fixed |
People
(Reporter: RyanVM, Assigned: RyanVM)
References
Details
Attachments
(2 external files)
Bug 1977771 moved the aliases in clang.yml to the clang 22 tasks but left sysroot.yml on clang 21. Moving it needs two adaptations to the clang 22 libc++ first: [[nodiscard]] on std::atomic::load, and an _LIBCPP_EXPORTED_FROM_ABI visibility mismatch on error_condition.
| Assignee | ||
Comment 1•3 months ago
|
||
libc++ 22 applies [[nodiscard]] to std::atomic::load (llvm/llvm-project#173962); the acquire-only load in
RefCounted.h discards its result on purpose.
It also drops _LIBCPP_EXPORTED_FROM_ABI from the forward declaration of error_condition while keeping it
on the definition (llvm/llvm-project#132602), so the two disagree under the hidden visibility
config/gcc_hidden.h pushes.
| Assignee | ||
Comment 2•3 months ago
|
||
Comment 4•3 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/5265c50572b4
https://hg.mozilla.org/mozilla-central/rev/d33e898b0fbc
Description
•