Bug 276700 - clang crashes on on the port games/dxx-rebirth on arm64 on 13.x, 14.x, 15.x
Summary: clang crashes on on the port games/dxx-rebirth on arm64 on 13.x, 14.x, 15.x
Status: Closed DUPLICATE of bug 276306
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 13.2-STABLE
Hardware: arm64 Any
: --- Affects Only Me
Assignee: freebsd-toolchain (Nobody)
URL: https://pkg-status.freebsd.org/ampere...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-29 01:15 UTC by Yuri Victorovich
Modified: 2024-01-29 02:03 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2024-01-29 01:15:51 UTC
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:
Comment 1 Lexi Winter 2024-01-29 01:18:44 UTC
duplicate of #276306, i think.
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2024-01-29 02:03:04 UTC

*** This bug has been marked as a duplicate of bug 276306 ***