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

Build inspect.js failed on MAC OSX #48

Open
XiaolinSh opened this issue Nov 15, 2017 · 3 comments
Open

Build inspect.js failed on MAC OSX #48

XiaolinSh opened this issue Nov 15, 2017 · 3 comments

Comments

@XiaolinSh
Copy link

I tried to build inspect.js on MAC, it failed as follows,

Traceback (most recent call last):
  File "/Users/xiaolins/Work/AOM/emsdk-portable/emscripten/1.37.22/em++", line 16, in <module>
    emcc.run()
  File "/Users/xiaolins/Work/AOM/emsdk-portable/emscripten/1.37.22/emcc.py", line 1443, in run
    final = shared.Building.link(linker_inputs, DEFAULT_FINAL, force_archive_contents=force_archive_contents, temp_files=misc_temp_files, just_calculate=just_calculate)
  File "/Users/xiaolins/Work/AOM/emsdk-portable/emscripten/1.37.22/tools/shared.py", line 1772, in link
    Building.read_link_inputs(filter(lambda x: not x.startswith('-'), files))
  File "/Users/xiaolins/Work/AOM/emsdk-portable/emscripten/1.37.22/tools/shared.py", line 1698, in read_link_inputs
    raise Exception('llvm-ar failed on archive ' + archive_names[n] + '!')
Exception: llvm-ar failed on archive /Users/xiaolins/Work/AOM/aom/buildanalyzer/libinspect_1_inspect-post_js.a!
make[3]: *** [examples/inspect.js] Error 1
make[2]: *** [CMakeFiles/inspect.dir/all] Error 2
make[1]: *** [CMakeFiles/inspect.dir/rule] Error 2
make: *** [inspect] Error 2
@mbebenita
Copy link
Collaborator

Interesting, are there any other details about the error? I'm currently using emcc 1.37.19 and I don't have any troubles. I wonder if something has changed.

@XiaolinSh
Copy link
Author

I verified that emscripten 1.37.19 is worked.

@kripken
Copy link

kripken commented Nov 16, 2017

I don't see this either (on latest incoming, 1.37.22).

@xiaolinshen , does building from scratch (rm -rf .inspect in tools/) work? Perhaps an older build's outputs don't mix well with new ones.

If that's not it, perhaps there is something on your system different from ours, like an OS-specific bug. You may be able to bisect on the emscripten repo to find the cause, in that case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants