-
-
Notifications
You must be signed in to change notification settings - Fork 198
Description
PackageCompiler errors when using Hwloc, see log below
I have unfortunately not been able to create a minimal-working example, but have verified that the build works without problem with PackageCompiler v1.2.5, so the problem is introduced in the latest version. You seem to have had problems with VectorizationBase before (#487) so hopefully you have some idea of what could have gone wrong.
Versions:
julia-1.6.0
Hwloc v2.0.0
Hwloc_jll v2.4.1+0
VectorizationBase v0.20.7
LoopVectorization v0.12.21
Running in docker.io/library/debian container (not sure if relevant). It worked as recently as a week ago (which makes sense since the last version here was released 5 days ago). The full script for reproducing is very big though, can share it if you need more information.
Issue i opened on Hwloc: JuliaParallel/Hwloc.jl#56
Error:
[ Info: PackageCompiler: creating system image object file, this might take a while...
┌ Warning: ErrorException("could not load symbol \"hwloc_topology_init\":\n/home/jupyter/julia/bin/julia: undefined symbol: hwloc_topology_init")
└ @ VectorizationBase /home/jupyter/.julia/packages/VectorizationBase/2aqZn/src/topology.jl:9
┌ Warning: Using Hwloc failed. Please file an issue with the above warning at: https://github.com/JuliaParallel/Hwloc.jl
│ Proceeding with generic topology assumptions. This may result in reduced performance.
└ @ VectorizationBase /home/jupyter/.julia/packages/VectorizationBase/2aqZn/src/topology.jl:10
ERROR: LoadError: LoadError: LoadError: LoadError: LoadError: LoadError: LoadError: LoadError: UndefVarError: CPU_NAME not defined
Stacktrace:
[1] define_cpu_name()
@ VectorizationBase ~/.julia/packages/VectorizationBase/2aqZn/src/cpu_info.jl:59
[2] top-level scope
@ ~/.julia/packages/VectorizationBase/2aqZn/src/cpu_info.jl:62
[3] include(mod::Module, _path::String)
@ Base ./Base.jl:386
[4] include(x::String)
@ VectorizationBase ~/.julia/packages/VectorizationBase/2aqZn/src/VectorizationBase.jl:1
[5] top-level scope
@ ~/.julia/packages/VectorizationBase/2aqZn/src/VectorizationBase.jl:274
[6] include
@ ./Base.jl:386 [inlined]
[7] _require(pkg::Base.PkgId)
@ Base ./loading.jl:1050
[8] require(uuidkey::Base.PkgId)
@ Base ./loading.jl:914
[9] require(into::Module, mod::Symbol)
@ Base ./loading.jl:901
[10] include
@ ./Base.jl:386 [inlined]
[11] _require(pkg::Base.PkgId)
@ Base ./loading.jl:1050
[12] require(uuidkey::Base.PkgId)
@ Base ./loading.jl:914
[13] require(into::Module, mod::Symbol)
@ Base ./loading.jl:901
[14] include(mod::Module, _path::String)
@ Base ./Base.jl:386
[15] include(x::String)
@ RecursiveFactorization ~/.julia/packages/RecursiveFactorization/ec89K/src/RecursiveFactorization.jl:1
[16] top-level scope
@ ~/.julia/packages/RecursiveFactorization/ec89K/src/RecursiveFactorization.jl:3
[17] include
@ ./Base.jl:386 [inlined]
[18] _require(pkg::Base.PkgId)
@ Base ./loading.jl:1050
[19] require(uuidkey::Base.PkgId)
@ Base ./loading.jl:914
[20] require(into::Module, mod::Symbol)
@ Base ./loading.jl:901
[21] include
@ ./Base.jl:386 [inlined]
[22] _require(pkg::Base.PkgId)
@ Base ./loading.jl:1050
[23] require(uuidkey::Base.PkgId)
@ Base ./loading.jl:914
[24] require(into::Module, mod::Symbol)
@ Base ./loading.jl:901
[25] include
@ ./Base.jl:386 [inlined]
[26] _require(pkg::Base.PkgId)
@ Base ./loading.jl:1050
[27] require(uuidkey::Base.PkgId)
@ Base ./loading.jl:914
[28] require(into::Module, mod::Symbol)
@ Base ./loading.jl:901
[29] include
@ ./Base.jl:386 [inlined]
[30] _require(pkg::Base.PkgId)
@ Base ./loading.jl:1050
[31] require(uuidkey::Base.PkgId)
@ Base ./loading.jl:914
[32] require(into::Module, mod::Symbol)
@ Base ./loading.jl:901
in expression starting at /home/jupyter/.julia/packages/VectorizationBase/2aqZn/src/cpu_info.jl:62
in expression starting at /home/jupyter/.julia/packages/VectorizationBase/2aqZn/src/VectorizationBase.jl:1
in expression starting at /home/jupyter/.julia/packages/LoopVectorization/09Hhf/src/LoopVectorization.jl:1
in expression starting at /home/jupyter/.julia/packages/RecursiveFactorization/ec89K/src/lu.jl:1
in expression starting at /home/jupyter/.julia/packages/RecursiveFactorization/ec89K/src/RecursiveFactorization.jl:1
in expression starting at /home/jupyter/.julia/packages/DiffEqBase/U3Zj7/src/DiffEqBase.jl:1
in expression starting at /home/jupyter/.julia/packages/OrdinaryDiffEq/WZTwh/src/OrdinaryDiffEq.jl:1
in expression starting at /home/jupyter/.julia/packages/ControlSystems/D98Nv/src/ControlSystems.jl:1
┌ Error: Creating system image FAILED. ABORTING
└ @ Main ~/build/utils.jl:13