Opened 13 hours ago

Last modified 8 hours ago

#70939 new defect

building julia fails for x86_64 on macOS 15 (Xcode 16): error: non-private labels cannot appear between .cfi_startproc / .cfi_endproc pairs

Reported by: nklb (Niklas) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: sequoia x86_64 Cc: hapaguy (Brian Kurt Fujikawa)
Port: julia

Description

I get the following error trying to build julia on an Intel MacBook after migrating to macOS 15 :

:info:build make[1]: *** [loader_trampolines.o] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_julia/julia/work/julia-1.10.5/cli'
:info:build make: *** [julia-cli-release] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_julia/julia/work/julia-1.10.5'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_julia/julia/work/julia-1.10.5" && /usr/bin/make -j8 -w  
:info:build Exit code: 2
:error:build Failed to build julia: command execution failed
:debug:build Error code: CHILDSTATUS 67279 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 10)
:debug:build     invoked from within
:debug:build "$procedure $targetname"

Attachments (1)

julia.log.gz (7.5 MB) - added by nklb (Niklas) 13 hours ago.

Change History (4)

Changed 13 hours ago by nklb (Niklas)

Attachment: julia.log.gz added

comment:1 Changed 12 hours ago by kencu (Ken)

Summary: building julia fails for x86_64 on macOS 15 (Xcode 16)building julia fails for x86_64 on macOS 15 (Xcode 16): error: non-private labels cannot appear between .cfi_startproc / .cfi_endproc pairs

The current Xcode can't build certain older versions of llvm/clang unless they are patched. There are a number of current PRs applying the needed patch to older MacPorts versions of llvm.

It looks like Julia contains a bundled llvm -- presumably it needs a similar fix.

comment:2 Changed 11 hours ago by nklb (Niklas)

Keywords: sequoia added; sonoma removed

comment:3 Changed 8 hours ago by hapaguy (Brian Kurt Fujikawa)

Cc: hapaguy added
Note: See TracTickets for help on using tickets.