JuliaInterop / Cxx.jl

The Julia C++ Interface
Other
755 stars 107 forks source link

undefined symbol: julia_type_to_llvm on julia 1.5.1 #482

Open XeCycle opened 3 years ago

XeCycle commented 3 years ago

After pkg add:

julia> using Cxx
[ Info: Precompiling Cxx [a0b5b9ef-44b7-5148-a2d1-f6db19f3c3d2]
ERROR: LoadError: could not load symbol "julia_type_to_llvm":
/usr/bin/julia: undefined symbol: julia_type_to_llvm
Stacktrace:
 [1] _julia_to_llvm at /home/xecycle/.julia/packages/Cxx/1RaOv/src/codegen.jl:422 [inlined]
 [2] setup_instance(::Array{UInt8,1}; makeCCompiler::Bool, target::Ptr{Nothing}, CPU::Ptr{Nothing}, useDefaultCxxABI::Bool, PCHTime::Base.Libc.TmStruct) at /home/xecycle/.julia/packages/Cxx/1RaOv/src/initialization.jl:38
 [3] __init__() at /home/xecycle/.julia/packages/Cxx/1RaOv/src/initialization.jl:430
 [4] top-level scope at /home/xecycle/.julia/packages/Cxx/1RaOv/src/Cxx.jl:178
 [5] top-level scope at none:2
 [6] eval at ./boot.jl:331 [inlined]
in expression starting at /home/xecycle/.julia/packages/Cxx/1RaOv/src/Cxx.jl:178
ERROR: Failed to precompile Cxx [a0b5b9ef-44b7-5148-a2d1-f6db19f3c3d2] to /home/xecycle/.julia/compiled/v1.5/Cxx/ESGkI_kWrlL.ji.
Stacktrace:
 [1] run_repl(::REPL.AbstractREPL, ::Any) at /build/julia/src/julia-1.5.1/usr/share/julia/stdlib/v1.5/REPL/src/REPL.jl:288

A brief google says that function was renamed, do we need the same change in Cxx.jl?

Gnimuc commented 3 years ago

This has been fixed in https://github.com/JuliaInterop/Cxx.jl/pull/466. There are other Julia internal changes that block Cxx.jl though.

XeCycle commented 3 years ago

Thanks, missed that one; somehow github search inside this repo did not give that PR. Do we have a collective issue/milestone for v1.5 support?

sa- commented 3 years ago

Is this project abandoned?