Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined symbol: julia_type_to_llvm on julia 1.5.1 #482

Open
XeCycle opened this issue Sep 9, 2020 · 3 comments
Open

undefined symbol: julia_type_to_llvm on julia 1.5.1 #482

XeCycle opened this issue Sep 9, 2020 · 3 comments

Comments

@XeCycle
Copy link

XeCycle commented Sep 9, 2020

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
Copy link
Member

Gnimuc commented Sep 9, 2020

This has been fixed in #466. There are other Julia internal changes that block Cxx.jl though.

@XeCycle
Copy link
Author

XeCycle commented Sep 9, 2020

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-
Copy link

sa- commented Nov 7, 2020

Is this project abandoned?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants