[Bug 247812] clang 10 crash

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 6 20:25:08 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247812

            Bug ID: 247812
           Summary: clang 10 crash
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: eserte12 at yahoo.de

Created attachment 216264
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=216264&action=edit
Preprocessed source and associated run script

While building the CPAN module SYBER/Date-5.2.0.tar.gz clang crashed and asked
me to submit a bug report. The last lines of the build log:

...
can't implicitly cast lvalue to rvalue with this cast kind
UNREACHABLE executed at
/usr/home/projects/freebsd/contrib/llvm-project/clang/lib/Sema/Sema.cpp:538!
Stack dump:
0.      Program arguments: c++ -c -Isrc
-I/usr/perl5.28.0p/lib/site_perl/5.28.0/amd64-freebsd/XS/libpanda.x/i
-I/usr/perl5.28.0p/lib/site_perl/5.28.0/XS/Install.x/i
-I/usr/perl5.28.0p/lib/site_perl/5.28.0/amd64-freebsd/XS/Framework.x/i
-I/usr/perl5.28.0p/lib/site_perl/5.28.0/amd64-freebsd/next/XS.x/i
-I/usr/perl5.28.0p/lib/site_perl/5.28.0/amd64-freebsd/Export/XS.x/i
-I/usr/perl5.28.0p/lib/site_perl/5.28.0/XS/libcatch.x/i -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong
-I/usr/local/include -D_FORTIFY_SOURCE=2 -Wall -Wextra
-Wno-implicit-fallthrough -Wno-unused-const-variable -std=c++14 -o
t/lib/MyTest_xsgen.o -pipe -pipe -O0 -DVERSION="0.0.0" -DXS_VERSION="0.0.0"
-DPIC -fPIC -I/usr/perl5.28.0p/lib/5.28.0/amd64-freebsd/CORE
t/lib/MyTest_xsgen.cc
1.      t/lib/MyTest.xs:303:37: current parser token ')'
2.      t/lib/MyTest_xsgen.cc:645:40: parsing function body
'XS_MyTest_posix_gmtime_bench'
3.      t/lib/MyTest_xsgen.cc:645:40: in compound statement ('{}')
4.      t/lib/MyTest_xsgen.cc:645:62: lambda expression parsing
5.      t/lib/MyTest_xsgen.cc:646:1: in compound statement ('{}')
6.      t/lib/MyTest_xsgen.cc:651:5: in compound statement ('{}')
#0 0x0000000003e3f62e (/usr/bin/c+++0x3e3f62e)
#1 0x0000000003e3d7b5 (/usr/bin/c+++0x3e3d7b5)
#2 0x0000000003e4175e (/usr/bin/c+++0x3e4175e)
#3 0x0000000003e418e1 (/usr/bin/c+++0x3e418e1)
#4 0x0000000805069ac0 (/lib/libthr.so.3+0x14ac0)
c++: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 10.0.1 (git at github.com:llvm/llvm-project.git
llvmorg-10.0.1-rc2-0-g77d76b71d7d)
Target: x86_64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin
c++: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed
source, and associated run script.
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:
/var/tmp/cpansmoker-1023/2020070619/MyTest_xsgen-7e0ba1.cpp
c++: note: diagnostic msg:
/var/tmp/cpansmoker-1023/2020070619/MyTest_xsgen-7e0ba1.sh
c++: note: diagnostic msg:

********************
*** Error code 254
...

The two mentioned files are attached.

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


More information about the freebsd-bugs mailing list