Closed
Bug 2023597
Opened 4 months ago
Closed 4 months ago
LLVM >22.1 compilation fails as clock() is no longer found due to deprecation: wasm32-wasi target has been renamed to wasm32-wasip1
Categories
(Firefox Build System :: General, defect)
Tracking
(firefox151 fixed)
RESOLVED
FIXED
151 Branch
| Tracking | Status | |
|---|---|---|
| firefox151 | --- | fixed |
People
(Reporter: mvrolijk, Assigned: ahochheiden)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0
Steps to reproduce:
Compile on Arch (with -testing repositories enabled) using Clang 22.1.1
Actual results:
Compilation fails at configuration stage: deprecation of wasm32-wasi breaks tmp code finding clock()
Expected results:
Normal compilation. Changing line 939 of build/moz.configure/toolchain.configure
"return split_triplet("wasm32-wasi", allow_wasi=True)" to "return split_triplet("wasm32-wasip1", allow_wasi=True)" resolves this issue.
Comment 1•4 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox Build System::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Component: Untriaged → General
Product: Firefox → Firefox Build System
| Assignee | ||
Comment 2•4 months ago
|
||
Updated•4 months ago
|
Assignee: nobody → ahochheiden
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by ahochheiden@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/c41de3cb5bd2
https://hg.mozilla.org/integration/autoland/rev/b1b4f0d7ed12
Use `wasm32-wasip1` target for clang >= 22.1 r=firefox-build-system-reviewers,sergesanspaille
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
status-firefox151:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•