Date: Mon, 06 Jul 2020 20:25:07 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 247812] clang 10 crash Message-ID: <bug-247812-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247812 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@FreeBSD.org Reporter: eserte12@yahoo.de Created attachment 216264 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D216264&action= =3Dedit Preprocessed source and associated run script While building the CPAN module SYBER/Date-5.2.0.tar.gz clang crashed and as= ked 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=3D2 -Wall -Wextra -Wno-implicit-fallthrough -Wno-unused-const-variable -std=3Dc++14 -o t/lib/MyTest_xsgen.o -pipe -pipe -O0 -DVERSION=3D"0.0.0" -DXS_VERSION=3D"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@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, preproces= sed 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247812-227>