[MacPorts] #70710: gcc13 @13.3.0: error: non-private labels cannot appear between .cfi_startproc / .cfi_endproc pairs (was: gcc13 fails to build on sequoia)

MacPorts noreply at macports.org
Wed Sep 11 22:24:32 UTC 2024


#70710: gcc13 @13.3.0: error: non-private labels cannot appear between
.cfi_startproc / .cfi_endproc pairs
---------------------+---------------------------
  Reporter:  Knapoc  |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.10.1
Resolution:          |   Keywords:  sequoia arm64
      Port:  gcc13   |
---------------------+---------------------------
Changes (by ryandesign):

 * keywords:  sequoia => sequoia arm64


Old description:

> Logfile attached.
>
> macOS 15.0 24A335 arm64
> Xcode 16.0 16A242

New description:

 Logfile attached.

 macOS 15.0 24A335 arm64 \\
 Xcode 16.0 16A242

--

Comment:

 Looks like the error is:

 {{{
 <instantiation>:5:1: error: non-private labels cannot appear between
 .cfi_startproc / .cfi_endproc pairs
 ___aarch64_cas1_relax:
 ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc13/gcc13/work/gcc-13.3.0/libgcc/config/aarch64/lse.S:220:1:
 note: while in macro instantiation
 STARTFN __aarch64_cas1_relax
 ^
 <instantiation>:4:2: error: previous .cfi_startproc was here
  .cfi_startproc
  ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc13/gcc13/work/gcc-13.3.0/libgcc/config/aarch64/lse.S:220:1:
 note: while in macro instantiation
 STARTFN __aarch64_cas1_relax
 ^
 }}}

 I found a reference to this issue here:
 https://github.com/NixOS/nixpkgs/issues/309365 . It provides a link to the
 intentional llvm change that causes this gcc build failure. There is no
 reference to a gcc bug report. Have you tried a newer version of gcc to
 see if the problem is already fixed? Try the gcc14 or gcc-devel ports.

-- 
Ticket URL: <https://trac.macports.org/ticket/70710#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list