I’m trying to the build system image for Julia v0.7:
Julia-0.7.0-DEV> include(joinpath(JULIA_HOME, Base.DATAROOTDIR, "julia", "build_sysimg.jl"))
Julia-0.7.0-DEV> build_sysimg(force=true) # cpu_target="native"
After a lot of messages, including some warnings I receive this:
INFO: Linking sys.dll
INFO: C:\Users\plowman\.julia\v0.7\WinRPM\deps\usr\x86_64-w64-mingw32\sys-root\mingw\bin\gcc.exe -LC:\Users\plowman\Julia-0.7.0-DEV\bin -shared -ljulia -lssp -o C:\Users\plowman\Julia-0.7.0-DEV\lib\julia\sys.dll C:\Users\plowman\Julia-0.7.0-DEV\lib\julia\sys.o
gcc.exe: fatal error: -fuse-linker-plugin, but liblto_plugin-0.dll not found
compilation terminated.
INFO: System image successfully built at C:\Users\plowman\Julia-0.7.0-DEV\lib\julia\sys.dll
INFO: Julia will automatically load this system image at next startup.
Notice that although it reports “System image successfully built”, there is in fact a fatal error and sys.dll
is not created.
Looks like liblto_plugin-0.dll
is missing.
This works for me on Julia v0.5 and v0.6
I’d appreciate any help with this. Thanks!