You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting a "Index out of range error while upgrading emsdk version to 3.1.18 ,3.1.19 and even in 3.1.10" previously my test app was building fine with emsdk 1.39.20 #17826
Version of emscripten/emsdk: 3.1.18 ,3.1.10 ,3.1.20
em++: warning: EXTRA_EXPORTED_RUNTIME_METHODS is deprecated, please use EXPORTED_RUNTIME_METHODS instead [-Wdeprecated]
Traceback (most recent call last):
File "/Users/agrawalpriya/emsdk/upstream/emscripten/em++.py", line 14, in <module>
sys.exit(emcc.run(sys.argv))
File "/Users/agrawalpriya/emsdk/upstream/emscripten/emcc.py", line 1168, in run
phase_calculate_system_libraries(state, linker_arguments, linker_inputs, newargs)
File "/Users/agrawalpriya/emsdk/python/3.9.2_64bit/lib/python3.9/contextlib.py", line 79, in inner
return func(*args, **kwds)
File "/Users/agrawalpriya/emsdk/upstream/emscripten/emcc.py", line 2726, in phase_calculate_system_libraries
extra_files_to_link += system_libs.calculate(all_linker_inputs, newargs, forced=state.forced_stdlibs)
File "/Users/agrawalpriya/emsdk/upstream/emscripten/tools/system_libs.py", line 1885, in calculate
handle_reverse_deps(input_files)
File "/Users/agrawalpriya/emsdk/upstream/emscripten/tools/system_libs.py", line 1729, in handle_reverse_deps
symbolses = building.llvm_nm_multiple([os.path.abspath(t) for t in input_files])
File "/Users/agrawalpriya/emsdk/python/3.9.2_64bit/lib/python3.9/contextlib.py", line 79, in inner
return func(*args, **kwds)
File "/Users/agrawalpriya/emsdk/upstream/emscripten/tools/building.py", line 184, in llvm_nm_multiple
for key, value in parse_llvm_nm_symbols(results.stdout).items():
File "/Users/agrawalpriya/emsdk/upstream/emscripten/tools/building.py", line 574, in parse_llvm_nm_symbols
status = line[entry_pos + 11] # Skip address, which is always fixed-length 8 chars.
IndexError: string index out of range
make[2]: *** [TestProfileWebTestApp.js] Error 1
make[1]: *** [CMakeFiles/TestProfileWebTestApp.dir/all] Error 2
make: *** [all] Error 2
emmake: error: 'make -j4' failed (returned 2)
Please make sure that cmake is installed.