# Problem building LLVM in master today

**URL:** <https://discourse.julialang.org/t/problem-building-llvm-in-master-today/1211>\
**Category:** General Usage\
**Created:** [December 30, 2016, 3:52am UTC](https://discourse.julialang.org/t/problem-building-llvm-in-master-today/1211 "2016-12-30T03:52:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ScottPJones](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/scottpjones/32/146_2.png) [@ScottPJones](https://discourse.julialang.org/u/ScottPJones)\
**Post date:** [December 30, 2016, 3:52am UTC](https://discourse.julialang.org/t/problem-building-llvm-in-master-today/1211/1 "2016-12-30T03:52:44Z")

</div>

I tried to rebuild Julia this evening, from the very latest master, and ran into the following problem:

> [71%] Building CXX object lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/OrcRemoteTargetRPCAPI.cpp.o  
> In file included from /j/julia/deps/srccache/llvm-3.9.1/lib/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.cpp:10:  
> In file included from /j/julia/deps/srccache/llvm-3.9.1/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h:21:  
> In file included from /j/julia/deps/srccache/llvm-3.9.1/include/llvm/ExecutionEngine/Orc/RPCUtils.h:35:  
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/…/include/c++/v1/future:1447:23: error: ‘future\_error’ is  
> unavailable: introduced in macOS 10.8  
> future\_error(make\_error\_code(future\_errc::broken\_promise))  
> ^  
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/…/include/c++/v1/future:502:63: note: ‘future\_error’ has been  
> explicitly marked unavailable here  
> class \_LIBCPP\_EXCEPTION\_ABI \_LIBCPP\_AVAILABILITY\_FUTURE\_ERROR future\_error  
> ^  
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/…/include/c++/v1/future:1621:23: error: ‘future\_error’ is  
> unavailable: introduced in macOS 10.8  
> future\_error(make\_error\_code(future\_errc::broken\_promise))  
> ^  
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/…/include/c++/v1/future:502:63: note: ‘future\_error’ has been  
> explicitly marked unavailable here  
> class \_LIBCPP\_EXCEPTION\_ABI \_LIBCPP\_AVAILABILITY\_FUTURE\_ERROR future\_error  
> ^  
> 2 errors generated.  
> make[4]: \*\*\* [lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/OrcRemoteTargetRPCAPI.cpp.o] Error 1  
> make[3]: \*\*\* [lib/ExecutionEngine/Orc/CMakeFiles/LLVMOrcJIT.dir/all] Error 2  
> make[2]: \*\*\* [all] Error 2  
> make[1]: \*\*\* [scratch/llvm-3.9.1/build\_Release/build-compiled] Error 2  
> make: \*\*\* [julia-deps] Error 2

Note: I am just trying to figure out where this problem is coming from, as my macOS just updated to 10.12.2 Beta tonight also, around the same time I pulled the latest version of master that now uses a different version of LLVM, so I really don’t know if the problem is coming from some change in Julia, or the change in my environment.

Thanks in advance for any light shed on this!

---

<div class="post-metadata">

**Author:** ![josefsachs](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@josefsachs](https://discourse.julialang.org/u/josefsachs)\
**Post date:** [December 30, 2016, 4:06am UTC](https://discourse.julialang.org/t/problem-building-llvm-in-master-today/1211/2 "2016-12-30T04:06:02Z")

</div>

See [#19762](https://github.com/JuliaLang/julia/issues/19762)

---

<div class="post-metadata">

**Author:** ![ScottPJones](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/scottpjones/32/146_2.png) [@ScottPJones](https://discourse.julialang.org/u/ScottPJones)\
**Post date:** [December 30, 2016, 4:14am UTC](https://discourse.julialang.org/t/problem-building-llvm-in-master-today/1211/3 "2016-12-30T04:14:05Z")

</div>

Thanks so much for the quick response! (I really wanted to try out some of the things that have been merged this afternoon, like Kristoffer’s improvements to the REPL 😉 )
