# Compiling 1.3.1 fails with undefined LLVM error

**URL:** <https://discourse.julialang.org/t/compiling-1-3-1-fails-with-undefined-llvm-error/36985>\
**Category:** New to Julia\
**Created:** [April 3, 2020, 8:39pm UTC](https://discourse.julialang.org/t/compiling-1-3-1-fails-with-undefined-llvm-error/36985 "2020-04-03T20:39:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaynick](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@jaynick](https://discourse.julialang.org/u/jaynick)\
**Post date:** [April 3, 2020, 8:39pm UTC](https://discourse.julialang.org/t/compiling-1-3-1-fails-with-undefined-llvm-error/36985/1 "2020-04-03T20:39:15Z")

</div>

About 2 months ago I compiled Julia1.3.1 from source, there was no problem.  
Now, Julia1.4.0 compiles from source, however checking out the 1.3.1 and compiling (same steps as before) gives an error about

`undefined reference to llvm::sys::getProcessTriple()`

What causes the same code and same instructions to work, and then fail later?

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [April 5, 2020, 11:57am UTC](https://discourse.julialang.org/t/compiling-1-3-1-fails-with-undefined-llvm-error/36985/2 "2020-04-05T11:57:33Z")

</div>

It would be great if you could provide steps that reproduce this from scratch (eg a script, starting with checking out the relevant branch).

---

<div class="post-metadata">

**Author:** ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Post date:** [April 5, 2020, 12:23pm UTC](https://discourse.julialang.org/t/compiling-1-3-1-fails-with-undefined-llvm-error/36985/3 "2020-04-05T12:23:08Z")

</div>

Swapping between julia versions that uses different LLVMs doesn’t work perfectly i think. You might need to `make - C deps distcleanall` before building.
