From owner-freebsd-bugs@freebsd.org Wed Jun 21 13:26:12 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA49FD8F8BB for ; Wed, 21 Jun 2017 13:26:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D682168D6F for ; Wed, 21 Jun 2017 13:26:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5LDQCAV096940 for ; Wed, 21 Jun 2017 13:26:12 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 220184] clang 4.0.0 segfaults on buildworld Date: Wed, 21 Jun 2017 13:26:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: chrysalis@chrysalisnet.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-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 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.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2017 13:26:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220184 Bug ID: 220184 Summary: clang 4.0.0 segfaults on buildworld Product: Base System Version: 11.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: freebsd-bugs@FreeBSD.org Reporter: chrysalis@chrysalisnet.org This system has done countless compiling including several buildworlds, and= no segfaults, but now after base clang is updated to 4.0.0 the buildworld proc= ess segfaults. I have found numerous hits on google with clang 4.0.0 instabilit= ies. Data below /usr/local/bin/ccache clang++ -O2 -pipe -I/usr/src/11s/contrib/llvm/tools/lldb/include -I/usr/src/11s/contrib/llvm/tools/lldb/source -I/usr/src/11s/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD -I/usr/src/11s/contrib/llvm/tools/lldb/source/Plugins/Process/POSIX -I/usr/src/11s/contrib/llvm/tools/lldb/source/Plugins/Process/Utility -I/usr/obj/usr/src/11s/lib/clang/libllvm -I/usr/obj/usr/src/11s/lib/clang/libclang -DLLDB_DISABLE_PYTHON -march=3Dne= halem -I/usr/src/11s/contrib/llvm/tools/clang/include -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_STATIC_ANALYZER -I/usr/src/11s/lib/clang/include -I/usr/src/11s/contrib/llvm/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"x86_64-unknown-freebsd11.1\" -DLLVM_HOST_TRIPLE=3D\"x86_64-unknown-freebsd11.1\" -DDEFAULT_SYSROOT=3D\"\" -ffunction-sections -fdata-sections -MD -MF.depend.DataFormatters_TypeSumma= ry.o -MTDataFormatters/TypeSummary.o -fstack-protector-strong -Qunused-arguments -Wno-deprecated -std=3Dc++11 -fno-exceptions -fno-rtti -stdlib=3Dlibc++ -Wno-c++11-extensions -c /usr/src/11s/contrib/llvm/tools/lldb/source/DataFormatters/TypeSummary.cpp = -o DataFormatters/TypeSummary.o --- DataFormatters/TypeCategory.o --- clang++: error: unable to execute command: Segmentation fault (core dumped) clang++: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0) Target: x86_64-unknown-freebsd11.1 Thread model: posix InstalledDir: /usr/bin clang++: 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. clang++: note: diagnostic msg:=20 ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang++: note: diagnostic msg: /tmp/TypeCategory-d16108.cpp clang++: note: diagnostic msg: /tmp/TypeCategory-d16108.sh clang++: note: diagnostic msg:=20 ******************** *** [DataFormatters/TypeCategory.o] Error code 254 make[6]: stopped in /usr/src/11s/lib/clang/liblldb 1 error --=20 You are receiving this mail because: You are the assignee for the bug.=