[MacPorts] #71530: gdb @15.1does not build on macOS High Sierra, version 10.13.6, because of fatal error: error in backend: Cannot select: intrinsic %llvm.x86.sha1rnds4

MacPorts noreply at macports.org
Thu Dec 12 23:41:56 UTC 2024


#71530: gdb @15.1does not build on macOS High Sierra, version 10.13.6, because of
fatal error: error in backend: Cannot select: intrinsic %llvm.x86.sha1rnds4
------------------------+--------------------
 Reporter:  ballapete   |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.10.5
 Keywords:  highsierra  |       Port:  gdb
------------------------+--------------------
 I set `use_parallel_build` off (or to value `no`).

 {{{
 if [ x"" != x ]; then \
           /usr/bin/clang -c -DHAVE_CONFIG_H -pipe -Os -arch x86_64
 -I.
 -I/opt/local/var/macports/build/rsync.macports.org_macports_release_tarballs_ports_devel_gdb/gdb/work/gdb-15.1/libiberty/../include
 -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local
 -pedantic  -D_GNU_SOURCE
 /opt/local/var/macports/build/rsync.macports.org_macports_release_tarballs_ports_devel_gdb/gdb/work/gdb-15.1/libiberty/sha1.c
 -o noasan/sha1.o; \
         else true; fi
 /usr/bin/clang -c -DHAVE_CONFIG_H -pipe -Os -arch x86_64      -I.
 -I/opt/local/var/macports/build/rsync.macports.org_macports_release_tarballs_ports_devel_gdb/gdb/work/gdb-15.1/libiberty/../include
 -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local
 -pedantic  -D_GNU_SOURCE
 /opt/local/var/macports/build/rsync.macports.org_macports_release_tarballs_ports_devel_gdb/gdb/work/gdb-15.1/libiberty/sha1.c
 -o sha1.o
 warning: unknown warning option '-Wshadow=local' [-Wunknown-warning-
 option]
 fatal error: error in backend: Cannot select: intrinsic
 %llvm.x86.sha1rnds4
 clang: error: clang frontend command failed with exit code 70 (use -v to
 see invocation)
 Apple LLVM version 10.0.0 (clang-1000.10.44.4)
 Target: x86_64-apple-darwin17.7.0
 Thread model: posix
 InstalledDir: /Library/Developer/CommandLineTools/usr/bin
 clang: note: diagnostic msg: PLEASE submit a bug report to
 http://developer.apple.com/bugreporter/ and include the crash backtrace,
 preprocessed source, and associated run script.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/71530>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list