-
-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Curious to try the latest versions of Julia and JuliaC, I find that #58 remains unfixed for me. I was not able to reopen that issue because of permissions on this repo.
Just to confirm the same behaviour on main (6940a31) here and Julia v1.12.3 for one of the examples; the error messages are the same for all cases:
$ julia --project -e "using JuliaC; JuliaC.main(ARGS)" -- --output-exe app_test_exe --bundle build --trim=safe --experimental test/AppProject
Precompiling JuliaC finished.
1 dependency successfully precompiled in 3 seconds. 38 already precompiled.
✓ Compiling...
ld: warning: -ld_classic is deprecated and will be removed in a future release
ld: file not found:
collect2: error: ld returned 1 exit status
ERROR:
Compilation failed: ProcessFailedException(Base.Process[Process(`gcc -std=gnu11 -I/Users/user/.julia/juliaup/julia-1.12.3+0.aarch64.apple.darwin14/include/julia -fPIC -L/Users/user/.julia/juliaup/julia-1.12.3+0.aarch64.apple.darwin14/lib -L/Users/user/.julia/juliaup/julia-1.12.3+0.aarch64.apple.darwin14/lib/julia -Wl,-rpath,@loader_path/../lib -Wl,-rpath,@loader_path/../lib/julia -o app_test_exe -Wl,-all_load /var/folders/4c/ltf5731x333b_nl54lz6zb300000gn/T/jl_ALuX3d/image.o.a -Wl, -ljulia -ljulia-internal -Wl,-install_name,@rpath/app_test_exe`, ProcessExited(1))])
Stacktrace:
[1] error(::String, ::ProcessFailedException)
@ Base ./error.jl:54
[2] link_products(recipe::LinkRecipe)
@ JuliaC ~/Applications/julia_pkgs/JuliaC/src/linking.jl:150
[3] _main_cli(args::Vector{String}; io::Base.TTY)
@ JuliaC ~/Applications/julia_pkgs/JuliaC/src/JuliaC.jl:192
[4] _main_cli(args::Vector{String})
@ JuliaC ~/Applications/julia_pkgs/JuliaC/src/JuliaC.jl:182
[5] main(ARGS::Vector{String})
@ JuliaC ~/Applications/julia_pkgs/JuliaC/src/JuliaC.jl:197
[6] top-level scope
@ none:1
[7] eval(m::Module, e::Any)
@ Core ./boot.jl:489
[8] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:283
[9] _start()
@ Base ./client.jl:550
caused by: failed process: Process(`gcc -std=gnu11 -I/Users/user/.julia/juliaup/julia-1.12.3+0.aarch64.apple.darwin14/include/julia -fPIC -L/Users/user/.julia/juliaup/julia-1.12.3+0.aarch64.apple.darwin14/lib -L/Users/user/.julia/juliaup/julia-1.12.3+0.aarch64.apple.darwin14/lib/julia -Wl,-rpath,@loader_path/../lib -Wl,-rpath,@loader_path/../lib/julia -o app_test_exe -Wl,-all_load /var/folders/4c/ltf5731x333b_nl54lz6zb300000gn/T/jl_ALuX3d/image.o.a -Wl, -ljulia -ljulia-internal -Wl,-install_name,@rpath/app_test_exe`, ProcessExited(1)) [1]
Stacktrace:
[1] pipeline_error
@ ./process.jl:598 [inlined]
[2] run(::Cmd; wait::Bool)
@ Base ./process.jl:513
[3] run
@ ./process.jl:510 [inlined]
[4] link_products(recipe::LinkRecipe)
@ JuliaC ~/Applications/julia_pkgs/JuliaC/src/linking.jl:148
[5] _main_cli(args::Vector{String}; io::Base.TTY)
@ JuliaC ~/Applications/julia_pkgs/JuliaC/src/JuliaC.jl:192
[6] _main_cli(args::Vector{String})
@ JuliaC ~/Applications/julia_pkgs/JuliaC/src/JuliaC.jl:182
[7] main(ARGS::Vector{String})
@ JuliaC ~/Applications/julia_pkgs/JuliaC/src/JuliaC.jl:197
[8] top-level scope
@ none:1
[9] eval(m::Module, e::Any)
@ Core ./boot.jl:489
[10] exec_options(opts::Base.JLOptions)
@ Base ./client.jl:283
[11] _start()
@ Base ./client.jl:550Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels