Closed Bug 1773200 Opened 2 years ago Closed 2 years ago

Update to wasi-sdk-16

Categories

(Firefox Build System :: Toolchains, task)

task

Tracking

(firefox103 fixed)

RESOLVED FIXED
103 Branch
Tracking Status
firefox103 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

()

Details

Attachments

(2 files)

No description provided.
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/74a8eb44e096
Update to wasi-sdk-16. r=firefox-build-system-reviewers,ahochheiden

It's a bulk memory.copy opcode. Arch Linux updated wasi-libc from 9886d3d to 30094b6 and ran into the same issue.

wasm2c doesn't support bulk memory ops yet, though there's a pull request at https://github.com/WebAssembly/wabt/pull/1877.

Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/d190451aa436
Force-disable parts of wasi-libc built with -mbulk-memory. r=firefox-build-system-reviewers,ahochheiden
https://hg.mozilla.org/integration/autoland/rev/4b5b77b114ad
Update to wasi-sdk-16. r=firefox-build-system-reviewers,ahochheiden
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
Flags: needinfo?(mh+mozilla)

Just an FYI that there likely won't be a wasi-sdk-17 until this PR (https://github.com/WebAssembly/wasi-sdk/pull/255) gets fixed.

FYI: WASI SDK 19 is now released: https://github.com/WebAssembly/wasi-sdk/releases/tag/wasi-sdk-19

  • wasi-sdk-19

    Specify CMAKE_OSX_DEPLOYMENT_TARGET when building llvm (#285)
    Update llvm-project to the latest release/15.x (#286)
    Add README section for docker image (#282)

  • wasi-sdk-18

    Build macOS universal binaries (#270)

    Update to the latest wasi-libc (#283)
    Don't use sbrk(0) to determine the initial heap size (WebAssembly/wasi-libc#377)
    Fix more headers to avoid depending on max_align_t (WebAssembly/wasi-libc#375)
    Use ENOENT rather than ENOTCAPABLE for missing preopens. (WebAssembly/wasi-libc#370)
    Adjust Makefile for LLVM trunk (16) as of 2022-11-08 (WebAssembly/wasi-libc#344)

NOTE: This release changes the behavior of malloc in programs compiled with -Wl,--initial-memory to use memory.grow rather than using all the statically-allocated memory. This will be fixed in wasi-sdk-19.

WASI SDK 20 is based on LLVM 16. https://github.com/WebAssembly/wasi-sdk/releases/tag/wasi-sdk-20

Is this worthwhile for inclusion in 115?

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: