# Precompile llvm errors

**URL:** https://discourse.julialang.org/t/precompile-llvm-errors/131393
**Category:** General Usage
**Tags:** question
**Created:** [August 6, 2025, 3:00am UTC](https://discourse.julialang.org/t/precompile-llvm-errors/131393 "2025-08-06T03:00:18Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)
#### Post date: [August 6, 2025, 7:58am UTC](https://discourse.julialang.org/t/precompile-llvm-errors/131393/2 "2025-08-06T07:58:45Z")

</div>

> [@Precompilation error in cluster](https://discourse.julialang.org/t/precompilation-error-in-cluster/125083/2):
>
> Set [JULIA\_NUM\_PRECOMPILE\_TASKS](https://docs.julialang.org/en/v1/manual/environment-variables/#JULIA_NUM_PRECOMPILE_TASKS) to a low value (this has been asked several times)

> <https://github.com/JuliaLang/julia/issues/59200#issuecomment-3151470879>
>
> Precompilation of \[DFTK\](https://github.com/JuliaMolSim/DFTK.jl) fails on a clus…ter, with the following error message:
> \`\`\`
> PLEASE submit a bug report to https://github.com/julialang/julia and include the crash backtrace.
> Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var \`LLVM\_SYMBOLIZER\_PATH\` to point to it):
> 0 libLLVM-16jl.so 0x000015240492bd38 llvm::sys::PrintStackTrace(llvm::raw\_ostream&, int) + 40
> 1 libLLVM-16jl.so 0x000015240492985c
> 2 libpthread.so.0 0x0000152409af9cf0
> 3 libc.so.6 0x00001524035bb144
> 4 lld 0x00000000005df633 void lld::elf::InputSection::writeTo\<llvm::object::ELFType\<(llvm::support::endianness)1, true\>\>(unsigned char\*) + 179
> 5 lld 0x00000000006055a0
> 6 libLLVM-16jl.so 0x000015240487fa94
> 7 libLLVM-16jl.so 0x00001524048813d9
> 8 libstdc++.so.6 0x0000152403d17b23
> 9 libpthread.so.0 0x0000152409aef1ca
> 10 libc.so.6 0x0000152403525e73 clone + 67
> ◑ DFTK
> \`\`\`
> The stacktrace is: 
> \`\`\`
> top-level scope at REPL\[17\]:1
> eval at boot.jl:430 \[inlined\]
> eval\_user\_input(ast::Any, backend::REPL.REPLBackend, mod::Module) at REPL.jl:261
> repl\_backend\_loop(backend::REPL.REPLBackend, get\_module::Function) at REPL.jl:368
> start\_repl\_backend(backend::REPL.REPLBackend, consumer::Any; get\_module::Function) at REPL.jl:343
> kwcall(::NamedTuple, ::typeof(REPL.start\_repl\_backend), backend::REPL.REPLBackend, consumer::Any) at REPL.jl:340
> run\_repl(repl::REPL.AbstractREPL, consumer::Any; backend\_on\_current\_task::Bool, backend::Any) at REPL.jl:500
> run\_repl(repl::REPL.AbstractREPL, consumer::Any) at REPL.jl:486
> (::Base.var"#1150#1152"{Bool, Symbol, Bool})(REPL::Module) at client.jl:446
> #invokelatest#2 at essentials.jl:1055 \[inlined\]
> invokelatest at essentials.jl:1052 \[inlined\]
> run\_main\_repl(interactive::Bool, quiet::Bool, banner::Symbol, history\_file::Bool, color\_set::Bool) at client.jl:430
> repl\_main at client.jl:567 \[inlined\]
> \_start() at client.jl:541
> \`\`\`
> 
> I'm using Julia 1.11.6. As far as I can see the issue only occurs with the DFTK package, but since the error specifically says to create the issue on JuliaLang, I'm posting it here.

---

_[View the full topic](https://discourse.julialang.org/t/precompile-llvm-errors/131393)._
