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

Rebuild JLL for Julia 1.10 #56

Closed
maleadt opened this issue May 18, 2023 · 7 comments · Fixed by #57
Closed

Rebuild JLL for Julia 1.10 #56

maleadt opened this issue May 18, 2023 · 7 comments · Fixed by #57

Comments

@maleadt
Copy link

maleadt commented May 18, 2023

This package currently fails to load on Julia 1.10:

Failed to precompile SDPA [b9a10b5b-afa4-512f-a053-bb3d8080febc] to "/home/pkgeval/.julia/compiled/v1.10/SDPA/jl_GDpYuF".
julia: /opt/x86_64-linux-gnu/x86_64-linux-gnu/sys-root/usr/local/include/jlcxx/module.hpp:1251: void jlcxx::Module::add_bits(const string&, JLSuperT*) [with T = SDPA::ConeType; JLSuperT = _jl_value_t; std::__cxx11::string = std::__cxx11::basic_string<char>]: Assertion `(((jl_value_t*)(((jl_taggedvalue_t*)((char*)(super) - sizeof(jl_taggedvalue_t)))->header & ~(uintptr_t)15))==(jl_value_t*)(jl_datatype_type))' failed.

[9] signal (6.-6): Aborted
in expression starting at /home/pkgeval/.julia/packages/SDPA/ROHtf/src/SDPA.jl:13
gsignal at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
abort at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
unknown function (ip: 0x7f724051740e)
__assert_fail at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
_ZN5jlcxx6Module8add_bitsIN4SDPA8ConeTypeE11_jl_value_tEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPT0_ at /home/pkgeval/.julia/artifacts/789898d25da6a16dca4a11dfb4bda8ffab5aabc5/lib/libsdpawrap.so (unknown line)
define_julia_module at /home/pkgeval/.julia/artifacts/789898d25da6a16dca4a11dfb4bda8ffab5aabc5/lib/libsdpawrap.so (unknown line)
register_julia_module at /home/pkgeval/.julia/artifacts/0b9e71d0529d5f5890463d4f9efb7171c279cfd0/lib/libcxxwrap_julia.so (unknown line)

Apparently rebuilding the JLL against the latest libcxxwrap should fix this: JuliaInterop/CxxWrap.jl#362 (comment)

@odow
Copy link
Member

odow commented May 18, 2023

Ah fun 😢 Ideally when we rebuild libcxxwrap in Yggdrasil we could also rebuild all of the dependent packages?

@odow
Copy link
Member

odow commented May 18, 2023

@odow
Copy link
Member

odow commented May 18, 2023

I guess we need to bump the CxxWrap version: #57

@odow
Copy link
Member

odow commented May 18, 2023

Rebuild is JuliaPackaging/Yggdrasil#6760

@maleadt
Copy link
Author

maleadt commented May 18, 2023

Thanks!

@schillic
Copy link

schillic commented Jan 4, 2024

Not sure if this is related, but the package does not build on Julia v1.10:

ERROR: LoadError: InitError: could not load library ".julia/artifacts/beeb384c8ba60497d81e26a28f74ed99aef88791/lib/libcxxwrap_julia.so"
.julia/artifacts/beeb384c8ba60497d81e26a28f74ed99aef88791/lib/libcxxwrap_julia.so: undefined symbol: small_typeof, version JL_LIBJULIA_1.10

@blegat
Copy link
Member

blegat commented Jan 4, 2024

@schillic Yes, it's the same issue I believe, but it seems the error is still on the PR that should fix this issue: #57 Maybe we need yet another rebuild ? Or update to CxxWrap v0.14 ?

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

Successfully merging a pull request may close this issue.

4 participants