Skip to content

wasm-opt: unknown option '--no-stack-ir' #22249

Closed
@agarny

Description

@agarny

Version of emscripten/emsdk:

emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.64-git
clang version 19.0.0git
Target: wasm32-unknown-emscripten
Thread model: posix
InstalledDir: /opt/homebrew/Cellar/emscripten/3.1.63/libexec/llvm/bin

Failing command line in full:
The following command gets automatically executed by my CMake-build system that uses emcmake and emcc:

/opt/homebrew/Cellar/emscripten/3.1.63/libexec/binaryen/bin/wasm-opt --strip-target-features --post-emscripten -O3 --low-memory-unused --zero-filled-memory --pass-arg=directize-initial-contents-immutable --no-stack-ir src/libopencor.wasm -o src/libopencor.wasm --mvp-features --enable-multivalue --enable-mutable-globals --enable-reference-types --enable-sign-ext

and it results in:

Unknown option '--no-stack-ir'

From a quick search, it looks like the issue got introduced here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions