I am trying to compile my native c++ code using the -fno-rtti option. I get 
the following error while compiling the code with that option to wasm. 
Asm.js works correctly with the same option. Can you tell me more about the 
possible reasons and solutions for the same?

It says asm2wasm.exe has stopped working.

warning: unresolved symbol: _ZN5boost15throw_exceptionERKSt9exception

Assertion failed: curr->ifFalse, file 
C:\slaves\emslave\buildslave\win-tagbuilder\emsdk\binaryen\tag-1.37.9\src\wasm\wasm-binary.cpp,
 
line 534

Traceback (most recent call last):

  File "C:\Users\vansgupt\Emscripten_portable\emscripten\1.37.9\\em++", 
line 16, in <module>

    emcc.run()

  File "C:\Users\vansgupt\Emscripten_portable\emscripten\1.37.9\emcc.py", 
line 2170, in run

    subprocess.check_call(cmd)

  File 
"C:\Users\vansgupt\Emscripten_portable\python\2.7.5.3_64bit\lib\subprocess.py", 
line 542, in check_call

    raise CalledProcessError(retcode, cmd)

subprocess.CalledProcessError: Command 
'[u'C:/Users/vansgupt/Emscripten_portable/clang/e1.37.9_64bit/binaryen\\bin\\asm2wasm',
 
'../src/js/core/wasm_f.temp.asm.js', '--total-memory=201326592', 
'--emit-jsified-potential-traps', '-Oz', 
'--mem-init=../src/js/core/wasm_f.js.mem', '--mem-base=1024', 
'--wasm-only', '-o', '../src/js/core/wasm_f.wasm']' returned non-zero exit 
status 255

make: *** [wasm] Error 1

 

-- 
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