From owner-freebsd-bugs@freebsd.org Mon Jul 6 20:25:08 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 027E036F9F3 for ; Mon, 6 Jul 2020 20:25:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4B0xrg6Kkvz4WmX for ; Mon, 6 Jul 2020 20:25:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D771434808F; Mon, 6 Jul 2020 20:25:07 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D735436F9F2 for ; Mon, 6 Jul 2020 20:25:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B0xrg5Nxqz4Wsc for ; Mon, 6 Jul 2020 20:25:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9834623A50 for ; Mon, 6 Jul 2020 20:25:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 066KP7k6017453 for ; Mon, 6 Jul 2020 20:25:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 066KP7It017452 for bugs@FreeBSD.org; Mon, 6 Jul 2020 20:25:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 247812] clang 10 crash Date: Mon, 06 Jul 2020 20:25:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eserte12@yahoo.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jul 2020 20:25:08 -0000 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.=