[MacPorts] #70779: clang-17 build fails on Sequoia
MacPorts
noreply at macports.org
Wed Sep 18 10:45:46 UTC 2024
#70779: clang-17 build fails on Sequoia
------------------------+--------------------
Reporter: jwhowarth | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.1
Resolution: | Keywords:
Port: clang-17 |
------------------------+--------------------
Description changed by jwhowarth:
Old description:
> In attempting to install apbs, I discovered that the clang-17 build fails
> as follows...
>
> {{{
> /Library/Developer/CommandLineTools/usr/bin/clang
> -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
> -DL_cas -DMODEL=2 -DSIZE=1
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-17/clang-17/work
> /llvm-project-17.0.6.src/compiler-rt/lib/builtins
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-17/clang-17/work/build/projects
> /compiler-rt/lib/builtins
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-17/clang-17/work
> /llvm-project-17.0.6.src/compiler-rt/lib/builtins
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-17/clang-17/work/build/include
> -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-17/clang-17/work
> /llvm-project-17.0.6.src/llvm/include -O3 -DNDEBUG -arch arm64 -isysroot
> /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -isysroot
> /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-
> min=10.7 -fPIC -O3 -fvisibility=hidden -DVISIBILITY_HIDDEN -Wall -fomit-
> frame-pointer -DHAS_ASM_LSE -Werror=format-nonliteral
> -DDONT_DEFINE_EPRINTF -arch arm64 -target arm64-apple-macos10.7 -darwin-
> target-variant arm64-apple-ios13.1-macabi -MD -MT projects/compiler-
> rt/lib/builtins/CMakeFiles/clang_rt.builtins_arm64_osx.dir/outline_atomic_helpers.dir/outline_atomic_cas1_2.S.o
> -MF projects/compiler-
> rt/lib/builtins/CMakeFiles/clang_rt.builtins_arm64_osx.dir/outline_atomic_helpers.dir/outline_atomic_cas1_2.S.o.d
> -o projects/compiler-
> rt/lib/builtins/CMakeFiles/clang_rt.builtins_arm64_osx.dir/outline_atomic_helpers.dir/outline_atomic_cas1_2.S.o
> -c
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-17/clang-17/work/build/projects
> /compiler-
> rt/lib/builtins/outline_atomic_helpers.dir/outline_atomic_cas1_2.S
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-17/clang-17/work/build/projects
> /compiler-
> rt/lib/builtins/outline_atomic_helpers.dir/outline_atomic_cas1_2.S:145:116:
> error: non-private labels cannot appear between .cfi_startproc /
> .cfi_endproc pairs
> .text %% .balign 16 %% .globl __aarch64_cas1_acq %% %% .private_extern
> __aarch64_cas1_acq %% %% .cfi_startproc %% __aarch64_cas1_acq: %%
> ^
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-17/clang-17/work/build/projects
> /compiler-
> rt/lib/builtins/outline_atomic_helpers.dir/outline_atomic_cas1_2.S:145:98:
> error: previous .cfi_startproc was here
> .text %% .balign 16 %% .globl __aarch64_cas1_acq %% %% .private_extern
> __aarch64_cas1_acq %% %% .cfi_startproc %% __aarch64_cas1_acq: %%
> }}}
>
> The clang-18 build doesn't have this problem.
New description:
In attempting to install apbs, I discovered that the clang-17 build fails
as follows...
/Library/Developer/CommandLineTools/usr/bin/clang -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DL_cas -DMODEL=2 -DSIZE=1
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-17/clang-17/work
/llvm-project-17.0.6.src/compiler-rt/lib/builtins
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-17/clang-17/work/build/projects
/compiler-rt/lib/builtins
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-17/clang-17/work
/llvm-project-17.0.6.src/compiler-rt/lib/builtins
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-17/clang-17/work/build/include
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-17/clang-17/work
/llvm-project-17.0.6.src/llvm/include -O3 -DNDEBUG -arch arm64 -isysroot
/Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -isysroot
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-
min=10.7 -fPIC -O3 -fvisibility=hidden -DVISIBILITY_HIDDEN -Wall -fomit-
frame-pointer -DHAS_ASM_LSE -Werror=format-nonliteral
-DDONT_DEFINE_EPRINTF -arch arm64 -target arm64-apple-macos10.7 -darwin-
target-variant arm64-apple-ios13.1-macabi -MD -MT projects/compiler-
rt/lib/builtins/CMakeFiles/clang_rt.builtins_arm64_osx.dir/outline_atomic_helpers.dir/outline_atomic_cas1_2.S.o
-MF projects/compiler-
rt/lib/builtins/CMakeFiles/clang_rt.builtins_arm64_osx.dir/outline_atomic_helpers.dir/outline_atomic_cas1_2.S.o.d
-o projects/compiler-
rt/lib/builtins/CMakeFiles/clang_rt.builtins_arm64_osx.dir/outline_atomic_helpers.dir/outline_atomic_cas1_2.S.o
-c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-17/clang-17/work/build/projects
/compiler-
rt/lib/builtins/outline_atomic_helpers.dir/outline_atomic_cas1_2.S
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-17/clang-17/work/build/projects
/compiler-
rt/lib/builtins/outline_atomic_helpers.dir/outline_atomic_cas1_2.S:145:116:
error: non-private labels cannot appear between .cfi_startproc /
.cfi_endproc pairs
.text %% .balign 16 %% .globl __aarch64_cas1_acq %% %% .private_extern
__aarch64_cas1_acq %% %% .cfi_startproc %% __aarch64_cas1_acq: %%
^
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_llvm-17/clang-17/work/build/projects
/compiler-
rt/lib/builtins/outline_atomic_helpers.dir/outline_atomic_cas1_2.S:145:98:
error: previous .cfi_startproc was here
.text %% .balign 16 %% .globl __aarch64_cas1_acq %% %% .private_extern
__aarch64_cas1_acq %% %% .cfi_startproc %% __aarch64_cas1_acq: %%
The clang-18 build doesn't have this problem.
--
--
Ticket URL: <https://trac.macports.org/ticket/70779#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list