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

LoadError on 1.10 #362

Closed
maleadt opened this issue May 17, 2023 · 6 comments
Closed

LoadError on 1.10 #362

maleadt opened this issue May 17, 2023 · 6 comments

Comments

@maleadt
Copy link
Member

maleadt commented May 17, 2023

ERROR: LoadError: InitError: could not load library "/home/maleadt/.julia/artifacts/0b9e71d0529d5f5890463d4f9efb7171c279cfd0/lib/libcxxwrap_julia.so"
/home/maleadt/.julia/artifacts/0b9e71d0529d5f5890463d4f9efb7171c279cfd0/lib/libcxxwrap_julia.so: undefined symbol: small_typeof

libcxxwrap_julia_jll probably needs a rebuild? This is on version v0.9.7+1.

@maleadt
Copy link
Member Author

maleadt commented May 17, 2023

There's probably stuff to be fixed, though. On the latest Julia, OpenSpiel.jl (which uses CxxWrap) aborts during precompilation with the message:

Failed to precompile OpenSpiel [ceb70bd2-fe3f-44f0-b81f-41608acaf2f2] to "/home/maleadt/.julia/compiled/v1.10/OpenSpiel/jl_xLIvan".
julia: /workspace/destdir/include/julia/julia.h:985: jl_value_t* jl_svecset(void*, size_t, void*): Assertion `(((jl_value_t*)(((jl_taggedvalue_t*)((char*)(t) - sizeof(jl_taggedvalue_t)))->header & ~(uintptr_t)15))==(jl_value_t*)(jl_simplevector_type))' failed.

[2150343] signal (6.-6): Aborted
in expression starting at /home/maleadt/.julia/packages/OpenSpiel/Z9HBN/src/OpenSpiel.jl:8
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: 0x7f1802894728)
__assert_fail at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
_ZN5jlcxx13ParameterListIJSt4pairIldESaIS2_EEEclEm.constprop.0 at /home/maleadt/.julia/artifacts/af6f9f51438ee903e16ea61e1105b20a5024f3c9/lib/libspieljl.so (unknown line)
_ZN5jlcxx11TypeWrapperINS_10ParametricIJNS_7TypeVarILi1EEEEEEE14apply_internalISt6vectorISt4pairIldESaIS9_EENS_3stl10WrapVectorEEEiOT0_ at /home/maleadt/.julia/artifacts/af6f9f51438ee903e16ea61e1105b20a5024f3c9/lib/libspieljl.so (unknown line)
_ZN5jlcxx3stl9apply_stlISt4pairIldEEEvRNS_6ModuleE at /home/maleadt/.julia/artifacts/af6f9f51438ee903e16ea61e1105b20a5024f3c9/lib/libspieljl.so (unknown line)
define_julia_module at /home/maleadt/.julia/artifacts/af6f9f51438ee903e16ea61e1105b20a5024f3c9/lib/libspieljl.so (unknown line)
register_julia_module at /home/maleadt/.julia/artifacts/0b9e71d0529d5f5890463d4f9efb7171c279cfd0/lib/libcxxwrap_julia.so (unknown line)
register_julia_module at /home/maleadt/.julia/packages/CxxWrap/IdOJa/src/CxxWrap.jl:405 [inlined]
readmodule at /home/maleadt/.julia/packages/CxxWrap/IdOJa/src/CxxWrap.jl:734
wrapmodule at /home/maleadt/.julia/packages/CxxWrap/IdOJa/src/CxxWrap.jl:738

I bisected this to JuliaLang/julia@4be81cd from JuliaLang/julia#49556, which I guess CxxWrap needs to adapt to somehow.

@fingolfin
Copy link
Contributor

We (the OSCAR team) already rebuilt libjulia_jll and libcxxwrap_julia_jll and then our JLLs using either. But no other JLLs -- so e.g. OpenSpiel_jll still needs to be rebuilt.

@fingolfin
Copy link
Contributor

In other words (my message was perhaps not clear on this): you'll have to submit a PR to Yggdrasil to rebuild OpenSpiel_jll.

@findmyway
Copy link
Contributor

I'll update OpenSpiel_jll soon later tonight.

@fingolfin
Copy link
Contributor

Has this been resolved then?

@maleadt
Copy link
Member Author

maleadt commented Jun 22, 2023

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