tshort / StaticCompiler.jl

Compiles Julia code to a standalone library (experimental)
Other
494 stars 31 forks source link

Linux undefined reference to `llvm::DominatorTree...` #8

Closed aminya closed 4 years ago

aminya commented 4 years ago

A lot of undefined references happens on Linux, but not on Windows

https://travis-ci.com/tshort/StaticCompiler.jl/jobs/261973212#L434

jpsamaroo commented 4 years ago

Taking a guess, given that a lot of very core LLVM symbols are missing: ld is probably failing to find LLVM altogether. ~I seem to recall that Windows libraries go in bin/ instead of lib/? If so, your -L/home/travis/julia/lib and -rpath,/home/travis/julia/lib arguments are probably wrong.~

Sorry, didn't realize this was for Linux. But the first sentence still applies.

tshort commented 4 years ago

Interesting. Good tip, @jpsamaroo. Will look into that some more because tests pass locally on Linux.