Skip to content

problems building js-polyfill #154

@jrandall

Description

@jrandall

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?

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