[Bug 276265] clang crashes on 15 CURRENT on the port devel/glaze

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 11 Jan 2024 23:37:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276265

            Bug ID: 276265
           Summary: clang crashes on 15 CURRENT on the port devel/glaze
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

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 &>'

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