When library is compiled with JuliaC (trim) when CPU target specialized with multiple targets e.g. JULIA_CPU_TARGET='broadwell;generic,clone_all' julia .../juliac.jl --experimental --trim=safe ..., and result library does not initialize Julia explicitly - there would be a segfault on call to Julia implemented functions (call to nullptr).