[Bug 259394] [New Port] emulators/firebird-emu: Emulator of the ARM-based TI-Nspire calculators
Date: Wed, 26 Feb 2025 23:14:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259394 Robert Clausecker <fuz@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|ports-bugs@FreeBSD.org |fuz@FreeBSD.org Status|New |Open --- Comment #4 from Robert Clausecker <fuz@FreeBSD.org> --- A test build causes an internal compiler error in clang (cool!): cc -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -g -std=gnu11 -Wall -Wextra -Wa,--noexecstack -O3 -DNDEBUG -Wall -Wextra -pthread -fPIC -DFB_VERSION=1.6 -DSUPPORT_LINUX -DQT_NO_DEBUG -DQT_QUICKWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/local/include/qt5 -I/usr/local/include/qt5/QtQuickWidgets -I/usr/local/include/qt5/QtWidgets -I/usr/local/include/qt5/QtQuick -I/usr/local/include/qt5/QtGui -I/usr/local/include/qt5/QtQmlModels -I/usr/local/include/qt5/QtQml -I/usr/local/include/qt5/QtNetwork -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 asmcode_aarch64.o core/asmcode_aarch64.S Assertion failed: ((!Target.getSymA() || Target.getSymA()->getKind() == MCSymbolRefExpr::VK_None || Target.getSymA()->getKind() == MCSymbolRefExpr::VK_PLT || Target.getSymA()->getKind() == MCSymbolRefExpr::VK_GOTPCREL) && "Should only be expression-level modifiers here"), function getRelocType, file /usr/home/fuz/freebsd-src/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp, line 125. 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: /usr/bin/cc -cc1as -triple aarch64-unknown-freebsd15.0 -filetype obj -main-file-name asmcode_aarch64.S -target-cpu generic -target-feature +v8a -target-feature +fp-armv8 -target-feature +neon -I . -I /usr/local/include/qt5 -I /usr/local/include/qt5/QtQuickWidgets -I /usr/local/include/qt5/QtWidgets -I /usr/local/include/qt5/QtQuick -I /usr/local/include/qt5/QtGui -I /usr/local/include/qt5/QtQmlModels -I /usr/local/include/qt5/QtQml -I /usr/local/include/qt5/QtNetwork -I /usr/local/include/qt5/QtCore -I . -I /usr/local/include -I . -I /usr/local/include -I /usr/local/lib/qt5/mkspecs/freebsd-clang -fdebug-compilation-dir=/usr/home/ports/main.ports/emulators/firebird-emu/work/firebird-1.6 -dwarf-debug-producer "FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)" -I . -I /usr/local/include/qt5 -I /usr/local/include/qt5/QtQuickWidgets -I /usr/local/include/qt5/QtWidgets -I /usr/local/include/qt5/QtQuick -I /usr/local/include/qt5/QtGui -I /usr/local/include/qt5/QtQmlModels -I /usr/local/include/qt5/QtQml -I /usr/local/include/qt5/QtNetwork -I /usr/local/include/qt5/QtCore -I . -I /usr/local/include -I . -I /usr/local/include -I /usr/local/lib/qt5/mkspecs/freebsd-clang -debug-info-kind=constructor -dwarf-version=4 -mrelocation-model pic -mnoexecstack -object-file-name=/usr/home/ports/main.ports/emulators/firebird-emu/work/firebird-1.6/asmcode_aarch64.o -o asmcode_aarch64.o /tmp/asmcode_aarch64-0d774a.s #0 0x0000000005aef344 PrintStackTrace /usr/home/fuz/freebsd-src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:723:13 #1 0x0000000005aed210 __cxx_atomic_store<CallbackAndCookie::Status> /usr/obj/usr/home/fuz/freebsd-src/arm64.aarch64/tmp/usr/include/c++/v1/__atomic/cxx_atomic_impl.h:304:3 #2 0x0000000005aed210 store /usr/obj/usr/home/fuz/freebsd-src/arm64.aarch64/tmp/usr/include/c++/v1/__atomic/atomic_base.h:51:5 #3 0x0000000005aed210 RunSignalHandlers /usr/home/fuz/freebsd-src/contrib/llvm-project/llvm/lib/Support/Signals.cpp:107:16 #4 0x0000000005aefa6c SignalHandler /usr/home/fuz/freebsd-src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:0:3 #5 0x000000008a0e3f8c handle_signal /usr/home/fuz/freebsd-src/lib/libthr/thread/thr_sig.c:0:3 cc: error: unable to execute command: Abort trap (core dumped) cc: error: clang integrated assembler command failed due to signal (use -v to see invocation) FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2) Target: aarch64-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin Build config: +assertions 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/asmcode_aarch64-4d0b5f.S cc: note: diagnostic msg: /tmp/asmcode_aarch64-4d0b5f.sh cc: note: diagnostic msg: ******************** *** Error code 1 Stop. make: stopped making "all" in /usr/home/ports/main.ports/emulators/firebird-emu/work/firebird-1.6 *** Error code 1 That said, please use full, unabbreviated git hashes for GH_TUPLE or ideally a tag if such exists. Another issue I found is that the port is called firebird-emu but the upstream project is just firebird. Please check if you can perhaps make the port have the same name as the upstream project. That it's an emulator is already clear from the category. If you feel like the package name should have -emu, perhaps set PKGNAMESUFFIX=-emu. -- You are receiving this mail because: You are the assignee for the bug.