Closed ranjanan closed 8 years ago
using Gallium
on the latest Gallium master gives:
ERROR: InitError: MethodError: Cannot `convert` an object of type UInt64 to an object of type Gallium.RemotePtr{Void}
This may have arisen from a call to the constructor Gallium.RemotePtr{Void}(...),
since type constructors fall back to convert methods.
in setindex!(::Dict{Gallium.RemotePtr{Void},Any}, ::Gallium.Module{MachO.MachOHandle{Base.AbstractIOBuffer{Array{UInt8,1}}},MachO.SectionRef{MachO.MachOHandle{Base.AbstractIOBuffer{Array{UInt8,1}}},MachO.section_64}}, ::UInt64) at ./dict.jl:611
in update_module!(::Gallium.LocalSession, ::Gallium.LazyJITModules{Dict{Gallium.RemotePtr{Void},Any}}, ::UInt64, ::String) at /Users/ranjan/.julia/v0.5/Gallium/src/modules.jl:192
in update_shlibs!(::Gallium.LocalSession, ::Gallium.LazyJITModules{Dict{Gallium.RemotePtr{Void},Any}}) at /Users/ranjan/.julia/v0.5/Gallium/src/modules.jl:213
in __init__() at /Users/ranjan/.julia/v0.5/Gallium/src/Gallium.jl:874
in _require_from_serialized(::Int64, ::Symbol, ::String, ::Bool) at ./loading.jl:174
in _require_from_serialized(::Int64, ::Symbol, ::Bool) at ./loading.jl:202
in require(::Symbol) at ./loading.jl:332
during initialization of module Gallium
Mac error is fixed in the latest commit.
Pkg.test("Gallium")
(the latest tagged version and after checking out JuliaParser) gives:versioninfo()
: