Bitcode files generated with an earlire version of emscripten need to be
rebuilt. They will be rebuilt into wasm object files.

(Or, you can try to build everything with -s WASM_OBJECT_FILES=0 which uses
LLVM IR as object files, but that is not guaranteed to be compatible
between versions of LLVM, so it's best to rebuild anyhow.)

On Mon, Apr 8, 2019 at 3:08 AM Chuck H <[email protected]> wrote:

> Hi,
>
> I manage to use LLVM web assembly backend in the emscripten with LLVM
> 9.0.0. And it gets the following error for the third party bc files:
>
> wasm-ld: error: lib.bc: machine type must be wasm32
>
> So what is the possible issue? any solution to it?  Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to