videetparekh opened a new issue #4843: Emscripten Runtime Error while linking
URL: https://github.com/apache/incubator-tvm/issues/4843
 
 
   I'm trying to get the following tutorial 
(https://github.com/apache/incubator-tvm/tree/master/web) up and running within 
a Docker container. I'm using a pre-installed version of TVM, installing 
Emscripten(clang-tag-e1.38.30_32bit) and patching the two through TVM's config.
   
   I'm able to generate the `test_add_one.bc` file, but the linking fails at 
Runtime with the following error:
   ```
   RuntimeError: Compilation error:
   Traceback (most recent call last):
     File "/usr/emsdk/upstream/emscripten/emcc.py", line 3841, in <module>
       sys.exit(run(sys.argv))
     File "/usr/emsdk/upstream/emscripten/emcc.py", line 2312, in run
       final = do_emscripten(final, shared.replace_or_append_suffix(target, 
'.mem'))
     File "/usr/emsdk/upstream/emscripten/emcc.py", line 475, in do_emscripten
       emscripten.run(infile, outfile, memfile)
     File "/usr/emsdk/upstream/emscripten/emscripten.py", line 2792, in run
       return temp_files.run_and_clean(lambda: emscripter(
     File "/usr/emsdk/upstream/emscripten/tools/tempfiles.py", line 105, in 
run_and_clean
       return func()
     File "/usr/emsdk/upstream/emscripten/emscripten.py", line 2793, in <lambda>
       infile, outfile_obj, memfile, shared.NODE_JS, temp_files, shared.DEBUG)
     File "/usr/emsdk/upstream/emscripten/emscripten.py", line 95, in 
emscript_fastcomp
       glue, forwarded_data = compiler_glue(metadata, compiler_engine, 
temp_files, DEBUG)
     File "/usr/emsdk/upstream/emscripten/emscripten.py", line 242, in 
compiler_glue
       assert not (metadata['simd'] and shared.Settings.WASM), 'SIMD is used, 
but not supported in WASM mode yet'
   AssertionError: SIMD is used, but not supported in WASM mode yet
   ```
   
   I believe Emscripten no longer supports fastcomp and so 
clang-tag-e1.38.30_32bit would be the version to use?
   
   Please let me know how I can resolve this?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to