Closed Bug 2066535 Opened 3 months ago Closed 3 months ago

Move the wasi sysroot toolchain alias to clang 22

Categories

(Firefox Build System :: Toolchains, task)

task

Tracking

(firefox156 fixed)

RESOLVED FIXED
156 Branch
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.

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.

Pushed by rvandermeulen@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/b1cc897f6ae5 https://hg.mozilla.org/integration/autoland/rev/5265c50572b4 Adapt the wasi build to the clang 22 libc++. r=firefox-build-system-reviewers,ahochheiden https://github.com/mozilla-firefox/firefox/commit/316220d121fa https://hg.mozilla.org/integration/autoland/rev/d33e898b0fbc Move the wasi sysroot toolchain alias to clang 22. r=firefox-build-system-reviewers,ahochheiden
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 156 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: