[Bug 257876] clang-11.0.1 crashes on 14-CURRENT but doesn't crash on 13.0-STABLE

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 15 Aug 2021 23:29:04 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257876

--- Comment #2 from Yuri Victorovich <yuri_at_freebsd.org> ---
[ 86%] Building CXX object
source/grid/CMakeFiles/obj_grid_release.dir/grid_generator.cc.o
cd /wrkdirs/usr/ports/math/deal.ii/work/.build/source/grid && /usr/bin/c++
-DBOOST_NO_AUTO_PTR -I/wrkdirs/usr/ports/math/deal.ii/work/.build/source/grid
-I/wrkdirs/usr/ports/math/deal.ii/work/.build/include
-I/wrkdirs/usr/ports/math/deal.ii/work/dealii-9.3.1/include -isystem
/usr/local/include -pedantic -fPIC -Wall -Wextra -Wmissing-braces
-Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wsuggest-override -Wswitch
-Wsynth -Wwrite-strings -Wno-deprecated-declarations -Wno-psabi
-Wfloat-conversion -Qunused-arguments -Wno-unsupported-friend
-Wno-undefined-var-template -openmp-simd -O2 -pipe -fstack-protector-strong
-isystem /usr/local/include -fno-strict-aliasing -Wno-unused-local-typedefs
-funroll-loops -fstrict-aliasing -MD -MT
source/grid/CMakeFiles/obj_grid_release.dir/grid_generator.cc.o -MF
CMakeFiles/obj_grid_release.dir/grid_generator.cc.o.d -o
CMakeFiles/obj_grid_release.dir/grid_generator.cc.o -c
/wrkdirs/usr/ports/math/deal.ii/work/dealii-9.3.1/source/grid/grid_g!
 enerator.
 cc
Didn't find this decl on its identifier's chain!
UNREACHABLE executed at
/usr/local/poudriere/jails/main-i386/usr/src/contrib/llvm-project/clang/lib/Sema/IdentifierResolver.cpp:82!
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++ -DBOOST_NO_AUTO_PTR
-I/wrkdirs/usr/ports/math/deal.ii/work/.build/source/grid
-I/wrkdirs/usr/ports/math/deal.ii/work/.build/include
-I/wrkdirs/usr/ports/math/deal.ii/work/dealii-9.3.1/include -isystem
/usr/local/include -pedantic -fPIC -Wall -Wextra -Wmissing-braces
-Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wsuggest-override -Wswitch
-Wsynth -Wwrite-strings -Wno-deprecated-declarations -Wno-psabi
-Wfloat-conversion -Qunused-arguments -Wno-unsupported-friend
-Wno-undefined-var-template -openmp-simd -O2 -pipe -fstack-protector-strong
-isystem /usr/local/include -fno-strict-aliasing -Wno-unused-local-typedefs
-funroll-loops -fstrict-aliasing -MD -MT
source/grid/CMakeFiles/obj_grid_release.dir/grid_generator.cc.o -MF
CMakeFiles/obj_grid_release.dir/grid_generator.cc.o.d -o
CMakeFiles/obj_grid_release.dir/grid_generator.cc.o -c
/wrkdirs/usr/ports/math/deal.ii/work/dealii-9.3.1/source/grid/grid_generator.cc
1.     
/wrkdirs/usr/ports/math/deal.ii/work/dealii-9.3.1/source/grid/grid_generator.cc:6106:3:
current parser token 'template'
2.     
/wrkdirs/usr/ports/math/deal.ii/work/dealii-9.3.1/source/grid/grid_generator.cc:36:1
<Spelling=/wrkdirs/usr/ports/math/deal.ii/work/.build/include/deal.II/base/config.h:396:32>:
parsing namespace 'dealii'
3.     
/wrkdirs/usr/ports/math/deal.ii/work/dealii-9.3.1/source/grid/grid_generator.cc:42:1:
parsing namespace 'dealii::GridGenerator'
4.     
/wrkdirs/usr/ports/math/deal.ii/work/dealii-9.3.1/source/grid/grid_generator.cc:5898:3:
parsing function body 'dealii::GridGenerator::hyper_shell<3>'
#0 0x0450d6c4 (/usr/bin/c+++0x450d6c4)
#1 0x0450db40 (/usr/bin/c+++0x450db40)
#2 0x0450b77e (/usr/bin/c+++0x450b77e)
#3 0x044a7024 (/usr/bin/c+++0x44a7024)
#4 0x044a71c4 (/usr/bin/c+++0x44a71c4)
#5 0x25b84709 (/lib/libthr.so.3+0x18709)
c++: error: clang frontend command failed with exit code 134 (use -v to see
invocation)
FreeBSD clang version 12.0.1 (git_at_github.com:llvm/llvm-project.git
llvmorg-12.0.1-0-gfed41342a82f)
Target: i386-unknown-freebsd14.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/grid_generator-ae2fdb.cpp
c++: note: diagnostic msg: /tmp/grid_generator-ae2fdb.sh
c++: note: diagnostic msg:

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Sun Aug 15 2021 - 23:29:04 UTC

Original text of this message