From owner-freebsd-bugs@freebsd.org Sat Apr 11 10:21:53 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 43D7D2B57FB for ; Sat, 11 Apr 2020 10:21:53 +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 48zrXK18vCz4S2B for ; Sat, 11 Apr 2020 10:21:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 27B622B57FA; Sat, 11 Apr 2020 10:21:53 +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 277172B57F9 for ; Sat, 11 Apr 2020 10:21:53 +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) server-signature RSA-PSS (4096 bits) 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 48zrXK0Hw7z4S28 for ; Sat, 11 Apr 2020 10:21:53 +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) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 059A1E8CC for ; Sat, 11 Apr 2020 10:21:53 +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 03BALqIt065916 for ; Sat, 11 Apr 2020 10:21:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 03BALqTQ065883 for bugs@FreeBSD.org; Sat, 11 Apr 2020 10:21:52 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 245530] Clang 10 crashes on Ceph-master source. Date: Sat, 11 Apr 2020 10:21:52 +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: wjw@digiware.nl 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.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Apr 2020 10:21:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245530 Bug ID: 245530 Summary: Clang 10 crashes on Ceph-master source. Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: wjw@digiware.nl Created attachment 213274 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D213274&action= =3Dedit compile script Whilest compiling ceph-master on a recent CURRENT system the compiler crash= es when compiling the common/config.cc file. Script is attached. Preproccesed source is to big to upload. Find it on:=20 http://smtp.digiware.nl/FreeBSD/config-958680.cpp.xz The output on the console: can't implicitly cast lvalue to rvalue with this cast kind UNREACHABLE executed at /usr/srcs/head/src/contrib/llvm-project/clang/lib/Sema/Sema.cpp:538! Stack dump: 0. Program arguments: /usr/bin/c++ -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=3Dformat-security -Winit-self -Wno-unknown-pragmas -Wno-unused-func= tion -Wno-unused-local-typedef -Wno-varargs -Wno-gnu-designator -Wno-missing-bra= ces -Wno-parentheses -Wno-deprecated-register -Wno-unknown-pragmas -Wno-non-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wno-inconsistent-missing-override -Wno-mismatched-tags -Wno-unused-private-field -Wno-address-of-packed-member -fdiagnostics-color=3Dauto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -O0 -g -fPIC -std=3Dc++17 -DCEPH_DATADIR=3D"/usr/local/share/ceph" -DCEPH_LIBDIR=3D"/usr/local/lib" -DCEPH_PKGLIBDIR=3D"/usr/local/lib/ceph" -D_FILE_OFFSET_BITS=3D64 -I/home/jenkins/workspace/ceph-master/build/src/include -I/home/jenkins/workspace/ceph-master/src -isystem /usr/local/include -isys= tem /home/jenkins/workspace/ceph-master/build/include -isystem /home/jenkins/workspace/ceph-master/src/xxHash -isystem /home/jenkins/workspace/ceph-master/src/rapidjson/include -isystem /home/jenkins/workspace/ceph-master/src/fmt/include -DCEPH_DEBUG_MUTEX -D_GLIBCXX_ASSERTIONS -DHAVE_CONFIG_H -D__CEPH__ -D_REENTRANT -D_THREAD_SAFE -D__STDC_FORMAT_MACROS -c -o CMakeFiles/common-common-objs.dir/config.cc.o /home/jenkins/workspace/ceph-master/src/common/config.cc 1. parser at end of file 2. /usr/local/include/boost/variant/detail/apply_visitor_unary.hpp:66:= 1: instantiating function definition 'boost::apply_visitor<(anonymous namespace)::assign_visitor, boost::variant ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*> &>' 3. /usr/local/include/boost/variant/variant.hpp:2384:5: instantiating function definition 'boost::variant ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*>::apply_visitor >' 4. /usr/local/include/boost/variant/variant.hpp:2344:5: instantiating function definition 'boost::variant ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*>::internal_apply_visitor, false> >' 5. /usr/local/include/boost/variant/variant.hpp:2319:5: instantiating function definition 'boost::variant ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*>::internal_apply_visitor_impl, false>, void *>' 6. /usr/local/include/boost/variant/detail/visitation_impl.hpp:194:1: instantiating function definition 'boost::detail::variant::visitation_impl, boost::detail::variant::visitation_impl_step, long ConfigValues::*, boost::mpl::l_item, unsigned long ConfigValues::*, boost::mpl::l_item, std::__1::basic_string ConfigValues::*, boost::mpl::l_item, double ConfigValues::*, boost::mpl::l_item, bool ConfigValues::*, boost::mpl::l_item, entity_addr_t ConfigValues::*, boost::mpl::l_item, entity_addrvec_t ConfigValues::*, boost::mpl::l_item, uuid_d ConfigValues::*, boost::mpl::l_en= d> > > > > > > > >, boost::mpl::l_iter >, boost::detail::variant::invoke_visitor, false>, void *, boost::variant ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*>::has_fallback_type_>' 7. /usr/local/include/boost/variant/detail/visitation_impl.hpp:138:1: instantiating function definition 'boost::detail::variant::visitation_impl_invoke, false>, void *, long ConfigValues::*, boost::variant ConfigValues::*, double ConfigValues::*, bool ConfigValues::*, entity_addr_t ConfigValues::*, entity_addrvec_t ConfigValues::*, uuid_d ConfigValues::*>::has_fallback_typ= e_>' 8. /usr/local/include/boost/variant/detail/visitation_impl.hpp:105:1: instantiating function definition 'boost::detail::variant::visitation_impl_invoke_impl, false>, void *, long ConfigValues::*>' 9. /usr/local/include/boost/variant/variant.hpp:1026:85: instantiating function definition 'boost::detail::variant::invoke_visitor, false>::internal_visit' 10. /home/jenkins/workspace/ceph-master/src/common/config.cc:1496:8: instantiating function definition '(anonymous namespace)::assign_visitor::operator()' #0 0x0000000003e068fe PrintStackTrace /usr/srcs/head/src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:5= 64:13 #1 0x0000000003e04a85 RunSignalHandlers /usr/srcs/head/src/contrib/llvm-project/llvm/lib/Support/Signals.cpp:69:18 #2 0x0000000003e08a0e HandleCrash /usr/srcs/head/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryConte= xt.cpp:77:5 #3 0x0000000003e08b91 CrashRecoverySignalHandler /usr/srcs/head/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryConte= xt.cpp:0:51 #4 0x000000080502e990 handle_signal /usr/srcs/head/src/lib/libthr/thread/thr_sig.c:0:3 c++: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 10.0.0 (git@github.com:llvm/llvm-project.git llvmorg-10.0.0-0-gd32170dbd5b) 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: /tmp/config-1726d7.cpp c++: note: diagnostic msg: /tmp/config-1726d7.sh c++: note: diagnostic msg: ******************** --=20 You are receiving this mail because: You are the assignee for the bug.=