Sequoia vs SuiteSparse

Jack Howarth howarth.at.macports at gmail.com
Wed Sep 18 10:51:04 UTC 2024


I am finding that apbs can't be built on Sequoia due to a build issue with
clang-17.

/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: %%


I am puzzled as to why SuiteSparse_GraphBLAS drags in clang17 and
SuiteSparse_LAGraph drags in both clang16 and clang17 as build
dependencies. I don't see anything in the SuiteSparse Portfile showing
those dependencies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20240918/0cb3ddbd/attachment.htm>


More information about the macports-dev mailing list