Did you monitor the memory usage while it compiles? A plain OOM broke the 
asyncify-enabled compilation for me and I had to provision more RAM to the 
VM I run emscripten in. It would also be useful to see the full emcc 
command line. 

On Tuesday, December 9, 2014 9:53:08 PM UTC+10, Jens Andersson wrote:
>
> I saw that 1.27 had some ASYNCIFY bug-fixes in it, so I tried this with 
> the new version. No luck though.
>
> LLVM ERROR: InvokeState == 0
> Stack dump:
> 0.      Program arguments: C:/Program 
> Files/Emscripten/clang/e1.27.0_64bit\llc 
> c:\users\jens\appdata\local\temp\tmpepujgw\osmosis.bc -march=js 
> -filetype=asm o c:\users\jens\appdata\local\temp\tmpi9p_8r.4.js 
> -emscripten-assertions=1 -emscripten-no-aliasing-function-pointers -O0 
> -emscripten-max-setjmps=20
> 1.      Running pass 'JavaScript backend' on module 
> 'c:\users\jens\appdata\local\temp\tmpepujgw\osmosis.bc'.
> Traceback (most recent call last):
>   File "C:\Program Files\Emscripten\emscripten\1.27.0\emscripten.py", line 
> 1655, in <module>
>     _main(environ=os.environ)
>   File "C:\Program Files\Emscripten\emscripten\1.27.0\emscripten.py", line 
> 1643, in _main
>     temp_files.run_and_clean(lambda: main(
>   File "C:\Program Files\Emscripten\emscripten\1.27.0\tools\tempfiles.py", 
> line 39, in run_and_clean
>     return func()
>   File "C:\Program Files\Emscripten\emscripten\1.27.0\emscripten.py", line 
> 1651, in <lambda>
>     DEBUG_CACHE=DEBUG_CACHE,
>   File "C:\Program Files\Emscripten\emscripten\1.27.0\emscripten.py", line 
> 1538, in main
>     jcache=jcache, temp_files=temp_files, DEBUG=DEBUG, 
> DEBUG_CACHE=DEBUG_CACHE)
>   File "C:\Program Files\Emscripten\emscripten\1.27.0\emscripten.py", line 
> 806,in emscript_fast
>     end_funcs = backend_output.rindex(end_funcs_marker)
> ValueError: substring not found
> Traceback (most recent call last):
>   File "C:\Program Files\Emscripten\emscripten\1.27.0\\emcc", line 1281, 
> in <module>
>     final = shared.Building.emscripten(final, append_ext=False, 
> extra_args=extra_args)
>   File "C:\Program Files\Emscripten\emscripten\1.27.0\tools\shared.py", 
> line 1501, in emscripten
>     assert os.path.exists(filename + '.o.js'), 'Emscripten failed to 
> generate .js'
> AssertionError: Emscripten failed to generate .js
>
>

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