Error rebuilding Julia v0.7 sysimg in macOS


#1

Hi guys!

I am trying to rebuild Julia 0.7 sysimg in macOS because I want to try to modify something at Base. I am building the image using the following command (with no changes):

/Applications/Julia-0.7.app/Contents/Resources/julia/bin/julia build_sysimg.jl /tmp/sys --force

Then, I try to run julia with the new image using:

/Applications/Julia-0.7.app/Contents/Resources/julia/bin/Julia -J /tmp/sys.dylib

But I am seeing this error:

ERROR: System image file failed consistency check: maybe opened the wrong version?

The same process works fine with v0.6. Does anyone know what I am doing wrong?


#2

I have the same issue on fedora

INFO: cc -L/work/fredrikb/julia7/bin/../lib -shared -ljulia -o /work/fredrikb/julia7/lib/julia/sys.so /work/fredrikb/julia7/lib/julia/sys.o
INFO: System image successfully built at /work/fredrikb/julia7/lib/julia/sys.so
INFO: Julia will automatically load this system image at next startup.


bash ~> julia7
ERROR: System image file failed consistency check: maybe opened the wrong version?

bash ~> julia7 -J /work/fredrikb/julia7/lib/julia/sys.so
ERROR: System image file failed consistency check: maybe opened the wrong version?

#3

I will try in openSUSE using the official binary. If it fails, then I will open a bug.

Thanks @baggepinnen!