[Bug 271624] emulators/qmc2 Clang crashes during build on 131arm64-quarterly

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 25 May 2023 04:52:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271624

--- Comment #1 from Alastair Hogge <agh@riseup.net> ---
fatal error: error in backend: Cannot select: intrinsic %llvm.aarch64.crc32b
PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the
crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: cc -c -O2 -pipe -fstack-protector-strong
-fno-strict-aliasing -DUSE_FILE32API -O2 -w -pthread -fPIC
-DQMC2_ARCADE_RELEASE -DQMC2_ARCADE_BUNDLED_MINIZIP -DQMC2_ARCADE_BUNDLED_ZLIB
-DQMC2_ARCADE -DHAVE_ZLIB -DZLIB_COMPAT -D_7ZIP_PPMD_SUPPORT -D_7ZIP_ST
-DQMC2_ARCADE_VERSION=0.243 -DQMC2_ARCADE_MAIN_UI_VERSION=0.243
-DQMC2_ARCADE_ENABLE_JOYSTICK -DQMC2_ARCADE_QML_IMPORT_PATH=imports
-DQT_NO_DEBUG -DQT_SVG_LIB -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB
-DQT_GUI_LIB -DQT_SQL_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB
-DQT_TESTLIB_LIB -DQT_CORE_LIB
-DQT_TESTCASE_BUILDDIR=\"/wrkdirs/usr/ports/emulators/qmc2/work/qmc2-mame-fe-0.243/src/arcade\"
-I. -I../lzma -I../minizip -I../zlib -I/usr/local/include/SDL2
-I/usr/local/include -I/usr/local/include/qt5 -I/usr/local/include/qt5/QtSvg
-I/usr/local/include/qt5/QtOpenGL -I/usr/local/include/qt5/QtWidgets
-I/usr/local/include/qt5/QtQuick -I/usr/local/include/qt5/QtGui
-I/usr/local/include/qt5/QtSql -I/usr/local/include/qt5/QtQmlModels
-I/usr/local/include/qt5/QtQml -I/usr/local/include/qt5/QtNetwork
-I/usr/local/include/qt5/QtTest -I/usr/local/include/qt5/QtCore -I.
-I/usr/local/include -I/usr/local/include
-I/usr/local/lib/qt5/mkspecs/freebsd-clang -o 7zCrc.o ../lzma/7zCrc.c
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module '../lzma/7zCrc.c'.
4.      Running pass 'AArch64 Instruction Selection' on function
'@CrcUpdateT0_32'
c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DUSE_FILE32API
-O2 -w -pthread -fPIC -DQCHDMAN_RELEASE -DQCHDMAN_VERSION=0.243 -DQT_NO_DEBUG
-DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SCRIPT_LIB -DQT_SCRIPTTOOLS_LIB
-DQT_CORE_LIB -I. -I/usr/local/include/qt5 -I/usr/local/include/qt5/QtWidgets
-I/usr/local/include/qt5/QtGui -I/usr/local/include/qt5/QtScript
-I/usr/local/include/qt5/QtScriptTools -I/usr/local/include/qt5/QtCore -I.
-I/usr/local/include -I. -I/usr/local/include
-I/usr/local/lib/qt5/mkspecs/freebsd-clang -o settings.o ../../settings.cpp
 #0 0x0000000004112678 (/usr/bin/cc+0x4112678)
 #1 0x0000000004110abc (/usr/bin/cc+0x4110abc)
 #2 0x00000000040b4d30 (/usr/bin/cc+0x40b4d30)
 #3 0x00000000040b4cb8 (/usr/bin/cc+0x40b4cb8)
 #4 0x000000000410b2e0 (/usr/bin/cc+0x410b2e0)
 #5 0x0000000001e09414 (/usr/bin/cc+0x1e09414)
 #6 0x00000000040bb874 (/usr/bin/cc+0x40bb874)
 #7 0x00000000040bb964 (/usr/bin/cc+0x40bb964)
 #8 0x000000000436e290 (/usr/bin/cc+0x436e290)
 #9 0x000000000436d964 (/usr/bin/cc+0x436d964)
#10 0x00000000044e2de0 (/usr/bin/cc+0x44e2de0)
#11 0x0000000004367e24 (/usr/bin/cc+0x4367e24)
#12 0x0000000004367690 (/usr/bin/cc+0x4367690)
#13 0x0000000004366d44 (/usr/bin/cc+0x4366d44)
#14 0x0000000004364fd0 (/usr/bin/cc+0x4364fd0)
#15 0x0000000003a94ce8 (/usr/bin/cc+0x3a94ce8)
#16 0x0000000003e04a94 (/usr/bin/cc+0x3e04a94)
#17 0x0000000003e0a214 (/usr/bin/cc+0x3e0a214)
#18 0x0000000003e04fa0 (/usr/bin/cc+0x3e04fa0)
#19 0x00000000024ac818 (/usr/bin/cc+0x24ac818)
#20 0x00000000024a8a1c (/usr/bin/cc+0x24a8a1c)
#21 0x00000000026faf98 (/usr/bin/cc+0x26faf98)
#22 0x0000000002b0cf44 (/usr/bin/cc+0x2b0cf44)
#23 0x0000000002660b98 (/usr/bin/cc+0x2660b98)
#24 0x0000000002604c9c (/usr/bin/cc+0x2604c9c)
#25 0x00000000026f6534 (/usr/bin/cc+0x26f6534)
#26 0x0000000001e09180 (/usr/bin/cc+0x1e09180)
#27 0x0000000001e14478 (/usr/bin/cc+0x1e14478)
#28 0x00000000025093f8 (/usr/bin/cc+0x25093f8)
#29 0x00000000040b4c8c (/usr/bin/cc+0x40b4c8c)
#30 0x000000000250905c (/usr/bin/cc+0x250905c)
#31 0x00000000024e3548 (/usr/bin/cc+0x24e3548)
#32 0x00000000024e38f0 (/usr/bin/cc+0x24e38f0)
#33 0x00000000024f36c4 (/usr/bin/cc+0x24f36c4)
cc: error: clang frontend command failed with exit code 70 (use -v to see
invocation)
FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git
llvmorg-13.0.0-0-gd7b669b3a303)
Target: aarch64-unknown-freebsd13.1
Thread model: posix
InstalledDir: /usr/bin
cc: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
cc: note: diagnostic msg: /tmp/7zCrc-bf1673.c
cc: note: diagnostic msg: /tmp/7zCrc-bf1673.sh
cc: note: diagnostic msg:

-- 
You are receiving this mail because:
You are the assignee for the bug.