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

Failed to build Julia-v0.5 on OSX 10.12 (Sierra) #300

Open
maxruby opened this issue Oct 29, 2016 · 2 comments
Open

Failed to build Julia-v0.5 on OSX 10.12 (Sierra) #300

maxruby opened this issue Oct 29, 2016 · 2 comments

Comments

@maxruby
Copy link
Contributor

maxruby commented Oct 29, 2016

Tried to build julia-v0.5on MacOS Sierra (10.12.1), and observed the error below.
Note that I cloned fresh the julia repo and ran makewith the following Make.user file settings

#GCC >= 5 will not work
#override USECLANG=1
override BUILD_LLVM_CLANG=1
override USE_LLVM_SHLIB=1
# Optional, but recommended
override LLVM_ASSERTIONS=1
# For LLDB support also
# override BUILD_LLDB=1
# override LLDB_DISABLE_PYTHON=1

llvm[6]: Copying runtime library darwin/eprintf to build dir
llvm[6]: Copying runtime library darwin/10.4 to build dir
llvm[6]: Copying runtime library darwin/osx to build dir
llvm[6]: Copying runtime library darwin/cc_kext to build dir
llvm[6]: Copying runtime library darwin/asan_osx_dynamic to build dir
llvm[6]: Copying runtime library darwin/profile_osx to build dir
llvm[6]: Copying runtime library darwin/ubsan_osx_dynamic to build dir
llvm[6]: Copying runtime library darwin/ios to build dir
cp: /Users/Max/julia/deps/scratch/llvm-3.7.1/build_Release+Asserts/tools/clang/runtime/compiler-rt/clang_darwin/ios/libcompiler_rt.a: No such file or directory
make[6]: *** [/Users/Max/julia/deps/scratch/llvm-3.7.1/build_Release+Asserts/Release+Asserts/lib/clang/3.7.1/lib/darwin/libclang_rt.ios.a] Error 1
make[5]: *** [compiler-rt/.makeall] Error 2
make[4]: *** [all] Error 1
make[3]: *** [clang/.makeall] Error 2
make[2]: *** [all] Error 1
make[1]: *** [scratch/llvm-3.7.1/build_Release+Asserts/build-compiled] Error 2
make: *** [julia-deps] Error 2

From what I recollect, this seems to be an issue with the LLVM build, which I was able to overcome last time I used it (several months ago). Its clear that the folders with the libcompiler_rt.aare missing in the julia clang_darwin folder. Any thoughts on how to overcome this issue?

@andreasnoack
Copy link
Contributor

I'm having this issue as well. If you are in urgent need for a solution you can set LLVM_VER=3.9 and merge JuliaLang/julia#18920 and JuliaLang/julia#18910.

@omus
Copy link
Contributor

omus commented Dec 20, 2016

I also encountered this issue. I needed to set LLVM_VER=3.9.0 and merge JuliaLang/julia#18920, JuliaLang/julia#18910, and JuliaLang/julia#19666. (macOS Sierra 10.12.2)

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

No branches or pull requests

4 participants