[Bug 276700] clang crashes on on the port games/dxx-rebirth on arm64 on 13.x, 14.x, 15.x
Date: Mon, 29 Jan 2024 01:15:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276700 Bug ID: 276700 Summary: clang crashes on on the port games/dxx-rebirth on arm64 on 13.x, 14.x, 15.x Product: Base System Version: 13.2-STABLE Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: yuri@freebsd.org See the URL of the log. Assertion failed: (Info.Ctx.hasSameType(BaseIt->getType(), BaseType) && "base class initializers not in expected order"), function HandleConstructorCall, file /usr/local/poudriere/jails/main-arm64/usr/src/contrib/llvm-project/clang/lib/AST/ExprConstant.cpp, line 6374. 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: c++ -c -g -O2 -ftabstop=4 -Wall -Werror=extra -Werror=format=2 -Werror=missing-braces -Werror=missing-include-dirs -Werror=uninitialized -Werror=undef -Werror=pointer-arith -Werror=cast-qual -Werror=missing-declarations -Werror=vla -pthread -funsigned-char -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -isystem /usr/local/include -flto -std=gnu++20 -Werror=unused -Wno-unused-lambda-capture -Wno-gnu-string-literal-operator-template -Wno-braced-scalar-init -fvisibility=hidden -Wsuggest-override -Wredundant-decls -Wno-sign-compare -isystem /usr/local/include -DPHYSFS_DEPRECATED= -DDXX_USE_SHAREPATH=1 -DNDEBUG -DRELEASE -D_REENTRANT -DDXX_BUILD_DESCENT_I -D__STDC_FORMAT_MACROS -Icommon/include -Icommon/main -I. -Ibuild -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include/SDL2 -I/usr/local/include/webp -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/opus -Id1x-rebirth/main d1x-rebirth/main/custom.cpp -o build/d1x-rebirth/main/custom.o 1. d1x-rebirth/main/custom.cpp:588:3: current parser token 'if' 2. d1x-rebirth/main/custom.cpp:476:1: parsing namespace 'd1x' 3. d1x-rebirth/main/custom.cpp:478:1: parsing namespace 'd1x::(anonymous)' 4. d1x-rebirth/main/custom.cpp:584:1: parsing function body 'd1x::(anonymous namespace)::custom_remove' 5. d1x-rebirth/main/custom.cpp:584:1: in compound statement ('{}') #0 0x00000000057fab80 (/usr/bin/c+++0x57fab80) #1 0x00000000057f8e70 (/usr/bin/c+++0x57f8e70) #2 0x00000000057c2530 (/usr/bin/c+++0x57c2530) #3 0x000000008a8dd1d4 (/lib/libthr.so.3+0x2b1d4) c++: error: clang frontend command failed with exit code 134 (use -v to see invocation) FreeBSD clang version 17.0.6 (https://github.com/llvm/llvm-project.git llvmorg-17.0.6-0-g6009708b4367) Target: aarch64-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin c++: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: c++: note: diagnostic msg: /tmp/custom-0f1201.cpp c++: note: diagnostic msg: /tmp/custom-0f1201.sh c++: note: diagnostic msg: -- You are receiving this mail because: You are the assignee for the bug.