[MacPorts] #67999: llvm-16 @16.0.6_2 fails to build on MacOS 12.6.8

MacPorts noreply at macports.org
Sun Aug 20 22:53:46 UTC 2023


#67999: llvm-16 @16.0.6_2 fails to build on MacOS 12.6.8
--------------------------+--------------------
  Reporter:  josephsacco  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.8.1
Resolution:               |   Keywords:  llvm
      Port:  llvm-16      |
--------------------------+--------------------

Comment (by kencu):

 you have:
 {{{
 :info:configure -- The C compiler identification is AppleClang
 14.0.0.14000029
 :info:configure -- The CXX compiler identification is AppleClang
 14.0.0.14000029
 }}}

 and the error is:

 {{{
 :info:build clang: error: unable to execute command: Segmentation fault:
 11
 :info:build clang: error: clang frontend command failed due to signal (use
 -v to see invocation)
 :info:build Apple clang version 14.0.0 (clang-1400.0.29.202)
 :info:build Target: x86_64-apple-darwin21.6.0
 :info:build Thread model: posix
 :info:build InstalledDir: /Library/Developer/CommandLineTools/usr/bin
 :info:build /Library/Developer/CommandLineTools/usr/bin/make  -f
 lib/Target/ARM/CMakeFiles/LLVMARMCodeGen.dir/build.make
 lib/Target/ARM/CMakeFiles/LLVMARMCodeGen.dir/depend
 :info:build make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-16/llvm-16/work/build'
 :info:build cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-16/llvm-16/work/build
 && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles"
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-16/llvm-16/work
 /llvm-project-16.0.6.src/llvm
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-16/llvm-16/work
 /llvm-project-16.0.6.src/llvm/lib/Target/ARM
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-16/llvm-16/work/build
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-16/llvm-16/work/build/lib/Target/ARM
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-16/llvm-16/work/build/lib/Target/ARM/CMakeFiles/LLVMARMCodeGen.dir/DependInfo.cmake
 --color=
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-16/llvm-16/work/build'
 :info:build /Library/Developer/CommandLineTools/usr/bin/make  -f
 lib/Target/ARM/CMakeFiles/LLVMARMCodeGen.dir/build.make
 lib/Target/ARM/CMakeFiles/LLVMARMCodeGen.dir/build
 :info:build make[2]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-16/llvm-16/work/build'
 :info:build [ 77%] Building CXX object
 lib/Target/ARM/CMakeFiles/LLVMARMCodeGen.dir/A15SDOptimizer.cpp.o
 :info:build cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-16/llvm-16/work/build/lib/Target/ARM
 && /usr/bin/clang++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
 -D__STDC_LIMIT_MACROS
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-16/llvm-16/work/build/lib/Target/ARM
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-16/llvm-16/work
 /llvm-project-16.0.6.src/llvm/lib/Target/ARM
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-16/llvm-16/work/build/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-16/llvm-16/work
 /llvm-project-16.0.6.src/llvm/include -isystem /opt/local/include -pipe
 -Os -DNDEBUG -I/opt/local/include -stdlib=libc++
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fPIC
 -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-
 availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings
 -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98
 -compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-
 noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-
 override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-
 unsupported -O3 -DNDEBUG -arch x86_64 -isysroot
 /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -mmacosx-version-
 min=12.0  -fno-exceptions -std=c++17 -MD -MT
 lib/Target/ARM/CMakeFiles/LLVMARMCodeGen.dir/A15SDOptimizer.cpp.o -MF
 CMakeFiles/LLVMARMCodeGen.dir/A15SDOptimizer.cpp.o.d -o
 CMakeFiles/LLVMARMCodeGen.dir/A15SDOptimizer.cpp.o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-16/llvm-16/work
 /llvm-project-16.0.6.src/llvm/lib/Target/ARM/A15SDOptimizer.cpp
 :info:build clang: note: diagnostic msg:
 :info:build ********************
 :info:build PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
 :info:build Preprocessed source(s) and associated run script(s) are
 located at:
 :info:build clang: note: diagnostic msg:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-16/llvm-16/work/.tmp
 /WebAssemblyInstrInfo-1f0797.cpp
 :info:build clang: note: diagnostic msg:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-16/llvm-16/work/.tmp
 /WebAssemblyInstrInfo-1f0797.sh
 :info:build clang: note: diagnostic msg: Crash backtrace is located in
 :info:build clang: note: diagnostic msg:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-16/llvm-16/work/.home/Library/Logs/DiagnosticReports/clang_
 <YYYY-MM-DD-HHMMSS>_<hostname>.crash
 :info:build clang: note: diagnostic msg: (choose the .crash file that
 corresponds to your crash)
 :info:build clang: note: diagnostic msg:
 :info:build ********************
 :info:build make[2]: ***
 [lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/WebAssemblyInstrInfo.cpp.o]
 Error 254
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-16/llvm-16/work/build'
 :info:build make[1]: ***
 [lib/Target/WebAssembly/CMakeFiles/LLVMWebAssemblyCodeGen.dir/all] Error 2
 :info:build make[1]: *** Waiting for unfinished jobs....
 }}}

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


More information about the macports-tickets mailing list