Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR:root:compiler frontend failed to generate LLVM bitcode, halting #5298

Closed
imvetri opened this issue Jun 13, 2017 · 4 comments
Closed

ERROR:root:compiler frontend failed to generate LLVM bitcode, halting #5298

imvetri opened this issue Jun 13, 2017 · 4 comments
Labels

Comments

@imvetri
Copy link

imvetri commented Jun 13, 2017

OS - Windows 7

I get following error if I try run emcc

After following the steps from the website, I got this error
llvm_error

When I tried the same command in the new terminal I got below error.
error in new terminal

@kripken
Copy link
Member

kripken commented Jun 13, 2017

Look in ~/.emscripten for LLVM_ROOT, and running with EMCC_DEBUG=1 in the env will show you more details on the command it runs that fails. Perhaps LLVM_ROOT is pointing to the wrong place, although the emsdk should set that up properly, so it's strange.

Perhaps a reinstall would fix it.

@imvetri
Copy link
Author

imvetri commented Jun 19, 2017

I looked in ~/.emscripten and following is what I had
LLVM_ROOT='C:/Users/USER/Desktop/mine/emsdk/clang/e1.37.13_64bit'

Plus, this time I got slightly different error message.

new error

@wizofe
Copy link

wizofe commented Jan 13, 2018

I am getting the same.

Edit: Guess what. The hello.c wasn't properly formatted 👎

@stale
Copy link

stale bot commented Sep 19, 2019

This issue has been automatically marked as stale because there has been no activity in the past year. It will be closed automatically if no further activity occurs in the next 7 days. Feel free to re-open at any time if this issue is still relevant.

@stale stale bot added the wontfix label Sep 19, 2019
@stale stale bot closed this as completed Sep 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants