Hello all,
I'm on OS X using Julia 0.4.0, 14 day old master.
I'm trying to use
julia/contrib/build_executable.jl
on a simple file:
$ cat test.jl
function main()
println("Hello world")
end
When I run it, the entirety of the step after `INFO: Building sys0.o...`
and before `INFO: Building sys.o` appears to run without any
contraindications. The rest of the response is as follows:
INFO: Building sys.o...
/usr/local/bin/julia -C native --build /usr/local/lib/julia/libtest -J /usr/
local/lib/julia/sys0.ji -f sysimg.jl
ERROR: LoadError: failed process: Process(`/usr/local/bin/julia -C native
--build /usr/local/lib/julia/libtest -J /usr/local/lib/julia/s
ys0.ji -f sysimg.jl`, ProcessSignaled(10)) [0]
in run at /usr/local/lib/julia/sys.dylib
in anonymous at /usr/local/bin/build_sysimg.jl:57
in cd at ./file.jl:20
in build_sysimg at /usr/local/bin/build_sysimg.jl:26
in include at ./boot.jl:250
in include_from_node1 at loading.jl:129
in process_options at ./client.jl:305
in _start at ./client.jl:389
while loading /usr/local/bin/build_sysimg.jl, in expression starting on
line 167
ERROR: LoadError: failed process: Process(`/usr/local/bin/julia
/usr/local/bin/build_sysimg.jl /usr/local/lib/julia/libtest native /var/
folders/3c/p2v0zdl12zqf4rskpmt46q0c0000gn/T/tmpZrMhFx/userimg.jl --force`,
ProcessExited(1)) [1]
in run at /usr/local/lib/julia/sys.dylib
in build_executable at /usr/local/bin/build_executable.jl:108
in build_executable at /usr/local/bin/build_executable.jl:57
in include at ./boot.jl:250
in include_from_node1 at loading.jl:129
in process_options at ./client.jl:305
in _start at ./client.jl:389
while loading /usr/local/bin/build_executable.jl, in expression starting on
line 275
If I just run
/usr/local/bin/julia -C native --build /usr/local/lib/julia/libtest -J /usr/
local/lib/julia/sys0.ji -f sysimg.jl
$ /usr/local/bin/julia -C native --build /usr/local/lib/julia/libtest -J /
usr/local/lib/julia/sys0.ji -f sysimg.jl
Bus error: 10
I get a bus error.
Any help would be appreciated and please let me know if there is any other
information that would be helpful!