Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#67716 - [emscripten] emcc fails with "Unknown option"
Attached to Project:
Community Packages
Opened by Joshua (_joshu) - Tuesday, 25 August 2020, 13:19 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 25 August 2020, 16:06 GMT
Opened by Joshua (_joshu) - Tuesday, 25 August 2020, 13:19 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 25 August 2020, 16:06 GMT
|
DetailsDescription:
Compiling C to WASM with emcc (as seen here https://developer.mozilla.org/en-US/docs/WebAssembly/C_to_wasm) fails with output: ``` emcc wasm_test1.c -s WASM=1 -o hello.html shared:INFO: EM_IGNORE_SANITY set, ignoring sanity checks Unknown option '--minimize-wasm-changes' emcc: error: '/usr/bin/wasm-emscripten-finalize --detect-features --global-base=1024 --minimize-wasm-changes /tmp/emscripten_temp_c2clk_7t/hello.wasm -o /tmp/emscripten_temp_c2clk_7t/hello.wasm.o.wasm' failed (1) ``` The '--minize-wasm-changes' option was added to wasm-emscripten-finalize 6 days ago: https://github.com/WebAssembly/binaryen/commit/b43807a835fc878e5eefcb8b4a18aff62d7f4540 after latest binaryen release, v96 (11 days ago). In emscripten/emscripten.py, this was added to the args for the call to wasm-emscripten-finalize 5 days ago, and it looks like that has been merged in: https://github.com/emscripten-core/emscripten/commit/ed2e2dc60ba2213cba7ad96cee18ff0fba75bf66 Additional info: * package version(s) emscripten 2.0.1-1 Steps to reproduce: 1) install latest emscripten package 2) compile C with `emcc <filename>.c -s WASM=1 -o <filename>.html (steps in slightly more detail: https://developer.mozilla.org/en-US/docs/WebAssembly/C_to_wasm |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Tuesday, 25 August 2020, 16:06 GMT
Reason for closing: Fixed
Tuesday, 25 August 2020, 16:06 GMT
Reason for closing: Fixed