Stream: git-wasmtime

Topic: wasmtime / issue #154 problems building js-polyfill


view this post on Zulip Wasmtime GitHub notifications bot (Jan 26 2023 at 19:46):

bjorn3 commented on issue #154:

I think this can be closed now as the polyfill at https://wasi.dev/polyfill/index.html is gone.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 26 2023 at 20:41):

jameysharp closed issue #154:

I get an error when I try to build the browser polyfill:

~/checkouts/wasmtime/wasmtime-wasi/js-polyfill$ ./build.sh
error: Linking globals named 'rwlock_init': symbol multiply defined!
shared:ERROR: Failed to run llvm optimizations:

I am using emscripten 1.38.31:

~/checkouts/wasmtime/wasmtime-wasi/js-polyfill$ emcc --version
emcc (Emscripten gcc/clang-like replacement) 1.38.31 (commit 040e49ad1e084ab4c464a9ca098c49b8c7085ffe)
Copyright (C) 2014 the Emscripten authors (see AUTHORS.txt)
This is free and open source software under the MIT license.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 ```

What version(s) of emscripten are known to work to build the polyfill?

~~~


Last updated: Dec 23 2024 at 12:05 UTC