I can not compile the same mini app as #812 on macOS using PackageCompiler@2.1.10 and Julia@1.9.3. The executable prints ERROR: System image file failed consistency check: maybe opened the wrong version? and exits.
It is weird that even after downgrading PackageCompiler@2.1.7 and Julia@1.9.0, it still does not work. I am using the same computer as #812, but the system should be upgraded after that. I am still trying.
versioninfo
julia> versioninfo()
Julia Version 1.9.3
Commit bed2cd540a1 (2023-08-24 14:43 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: macOS (x86_64-apple-darwin22.4.0)
CPU: 16 × Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-14.0.6 (ORCJIT, skylake)
Threads: 1 on 16 virtual cores
tested mini app
$ ls . src
.:
Project.toml src/
src:
MiniApp.jl
$ cat Project.toml
name = "MiniApp"
uuid = "f943f3d7-887a-4ed5-b0c0-a1d6899aa8f6"
version = "0.1.0"
$ cat src/MiniApp.jl
module MiniApp
function julia_main()::Cint
println("this is MiniApp")
return 0
end
end
I can not compile the same mini app as #812 on macOS using PackageCompiler@2.1.10 and Julia@1.9.3. The executable prints
ERROR: System image file failed consistency check: maybe opened the wrong version?
and exits.It is weird that even after downgrading PackageCompiler@2.1.7 and Julia@1.9.0, it still does not work. I am using the same computer as #812, but the system should be upgraded after that. I am still trying.
versioninfo
tested mini app
compile
error log