Hello,

On Thu, Aug 20, 2015 at 7:23 PM, Sergey Solozhentsev <
[email protected]> wrote:

> Hi
>
> I have strange eror on the latest version of emscripten
>
> LLVM ERROR: CE->getOpcode() == Instruction::BitCast
>

This is the root of your problem here and where you should focus your
attention.  If you can get or provide any additional information about
this, it will be very useful. Alon may of course just immediately recognize
what's wrong here, but probably would appreciate more info. :)


> Traceback (most recent call last):
>   File "C:\Program Files\Emscripten\emscripten\tag-1.34.5\emscripten.py",
> line 1080, in <module>
>     _main(environ=os.environ)
>   File "C:\Program Files\Emscripten\emscripten\tag-1.34.5\emscripten.py",
> line 1070, in _main
>     temp_files.run_and_clean(lambda: main(
>   File "C:\Program
> Files\Emscripten\emscripten\tag-1.34.5\tools\tempfiles.py", line 47, in
> run_and_clean
>     return func()
>   File "C:\Program Files\Emscripten\emscripten\tag-1.34.5\emscripten.py",
> line 1076, in <lambda>
>     DEBUG_CACHE=DEBUG_CACHE,
>   File "C:\Program Files\Emscripten\emscripten\tag-1.34.5\emscripten.py",
> line 977, in main
>     temp_files=temp_files, DEBUG=DEBUG, DEBUG_CACHE=DEBUG_CACHE)
>   File "C:\Program Files\Emscripten\emscripten\tag-1.34.5\emscripten.py",
> line 102, in emscript
>     start_funcs = backend_output.index(start_funcs_marker)
> ValueError: substring not found
>

This might be worth generating a better error message ... or why did
emscripten go on and run when it looks like clang failed? That seems like a
bug as well, but incidental to your actual issue.

 - Bruce


> Traceback (most recent call last):
>   File "C:\Program Files\Emscripten\emscripten\tag-1.34.5\\emcc", line
> 1295, in <module>
>     final = shared.Building.emscripten(final, append_ext=False,
> extra_args=extra_args)
>   File "C:\Program
> Files\Emscripten\emscripten\tag-1.34.5\tools\shared.py", line 1519, in
> emscripten
>     assert os.path.exists(filename + '.o.js'), 'Emscripten failed to
> generate .js'
> AssertionError: Emscripten failed to generate .js
>
> What does it mean? and how can I fixed it?
>
> --
> 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