Bug 276265 - clang crashes on 15 CURRENT on the port devel/glaze: Assertion failed: (Current->LocalDecls.find(D) == Current->LocalDecls.end() && "Instantiated local in inner and outer scopes"), function InstantiatedLocal
Summary: clang crashes on 15 CURRENT on the port devel/glaze: Assertion failed: (Curre...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 15.0-CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-toolchain (Nobody)
URL: https://pkg-status.freebsd.org/beefy1...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-11 23:37 UTC by Yuri Victorovich
Modified: 2024-01-29 05:37 UTC (History)
2 users (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-11 23:37:34 UTC
See the log URL.

FAILED: CMakeFiles/glaze_ide.dir/src/main.cpp.o 
/usr/bin/c++  -I/wrkdirs/usr/ports/devel/glaze/work/glaze-2.0.3/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -std=gnu++20 -Wno-missing-braces -MD -MT CMakeFiles/glaze_ide.dir/src/main.cpp.o -MF CMakeFiles/glaze_ide.dir/src/main.cpp.o.d -o CMakeFiles/glaze_ide.dir/src/main.cpp.o -c /wrkdirs/usr/ports/devel/glaze/work/glaze-2.0.3/src/main.cpp
Assertion failed: (Current->LocalDecls.find(D) == Current->LocalDecls.end() && "Instantiated local in inner and outer scopes"), function InstantiatedLocal, file /usr/local/poudriere/jails/main-amd64/usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiate.cpp, line 4195.
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/c++ -I/wrkdirs/usr/ports/devel/glaze/work/glaze-2.0.3/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DNDEBUG -std=gnu++20 -Wno-missing-braces -MD -MT CMakeFiles/glaze_ide.dir/src/main.cpp.o -MF CMakeFiles/glaze_ide.dir/src/main.cpp.o.d -o CMakeFiles/glaze_ide.dir/src/main.cpp.o -c /wrkdirs/usr/ports/devel/glaze/work/glaze-2.0.3/src/main.cpp
1.	/wrkdirs/usr/ports/devel/glaze/work/glaze-2.0.3/include/glaze/reflection/get_name.hpp:60:69: current parser token ';'
2.	/wrkdirs/usr/ports/devel/glaze/work/glaze-2.0.3/include/glaze/reflection/get_name.hpp:20:1: parsing namespace 'glz'
3.	/wrkdirs/usr/ports/devel/glaze/work/glaze-2.0.3/include/glaze/reflection/get_name.hpp:58:4: parsing struct/union/class body 'glz::detail::reflect_field'
4.	/wrkdirs/usr/ports/devel/glaze/work/glaze-2.0.3/include/glaze/reflection/to_tuple.hpp:1321:22: instantiating function definition 'glz::detail::get_ptr<0UL, const glz::detail::GLAZE_REFLECTOR &>'