From owner-freebsd-amd64@freebsd.org Wed Aug 24 07:34:43 2016 Return-Path: Delivered-To: freebsd-amd64@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 2BC19BC498E for ; Wed, 24 Aug 2016 07:34:43 +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 109BB19E3 for ; Wed, 24 Aug 2016 07:34:43 +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 u7O7YgBC022416 for ; Wed, 24 Aug 2016 07:34:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-amd64@FreeBSD.org Subject: [Bug 212098] Clang crashes on amd64 buildworld 10.3 -> releng/11.0 Date: Wed, 24 Aug 2016 07:34:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-RC1 X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: crees@FreeBSD.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 cc 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-Mailman-Approved-At: Wed, 24 Aug 2016 11:06:42 +0000 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2016 07:34:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212098 Bug ID: 212098 Summary: Clang crashes on amd64 buildworld 10.3 -> releng/11.0 Product: Base System Version: 11.0-RC1 Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: crees@FreeBSD.org CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org Morning, Getting weird crashes inside different parts of libllvm. If I nuke /usr/obj and try again, it fails somewhere else. Would be surprised if it's a hardware issue as this is the only thing that breaks- very reliable server running zfs, so I feel data corruption is unlikely. Any ideas? https://www.bayofrum.net/~crees/scratch/clangcrash/AArch64MCTargetDesc-e496= dc.cpp https://www.bayofrum.net/~crees/scratch/clangcrash/AArch64MCTargetDesc-e496= dc.sh Path: .Working Copy Root Path: /usr/src/.zfs/snapshot/local URL: file:///exports/freebsd-svn/base/releng/11.0 Relative URL: ^/releng/11.0 Repository Root: file:///exports/freebsd-svn/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 304713 Node Kind: directory Schedule: normal Last Changed Author: dim Last Changed Rev: 304690 Last Changed Date: 2016-08-23 18:38:06 +0100 (Tue, 23 Aug 2016) . -I/usr/src/lib/clang/libllvmaarch64desc/../../../contrib/llvm/../../lib/cla= ng/include -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG -fno-strict-aliasi= ng -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"x86_64-unkn own-freebsd11.0\" -DLLVM_HOST_TRIPLE=3D\"x86_64-unknown-freebsd11.0\" -DDEFAULT_SYSROOT=3D\"/usr/obj/usr/src/tmp\" -MD -MF.d epend.AArch64MCTargetDesc.o -MTAArch64MCTargetDesc.o -Qunused-arguments -I/usr/obj/usr/src/tmp/legacy/usr/include -std=3D c++11 -fno-exceptions -fno-rtti -stdlib=3Dlibc++ -Wno-c++11-extensions -c /usr/src/lib/clang/libllvmaarch64desc/../../../ contrib/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp -o AArch64MCTargetDesc.o Stack dump: 0. Program arguments: /usr/bin/c++ -cc1 -triple x86_64-unknown-freebsd= 10.3 -emit-obj -disable-free -disable-llvm-ve rifier -main-file-name AArch64MCTargetDesc.cpp -mrelocation-model static -mdisable-fp-elim -relaxed-aliasing -masm-verbo se -mconstructor-aliases -munwind-tables -target-cpu x86-64 -coverage-file /usr/obj/usr/src/tmp/usr/src/lib/clang/libllv maarch64desc/AArch64MCTargetDesc.o -resource-dir /usr/bin/../lib/clang/3.4.1 -dependency-file .depend.AArch64MCTargetDes c.o -sys-header-deps -MT AArch64MCTargetDesc.o -D LLVM_ON_UNIX -D LLVM_ON_FREEBSD -D __STDC_LIMIT_MACROS -D __STDC_CONST ANT_MACROS -D NDEBUG -D LLVM_DEFAULT_TARGET_TRIPLE=3D"x86_64-unknown-freebs= d11.0" -D LLVM_HOST_TRIPLE=3D"x86_64-unknown-free bsd11.0" -D DEFAULT_SYSROOT=3D"/usr/obj/usr/src/tmp" -I /usr/src/lib/clang/libllvmaarch64desc/../../../contrib/llvm/lib/Ta rget/AArch64/MCTargetDesc/.. -I /usr/src/lib/clang/libllvmaarch64desc/../../../contrib/llvm/include -I /usr/src/lib/clan g/libllvmaarch64desc/../../../contrib/llvm/tools/clang/include -I /usr/src/lib/clang/libllvmaarch64desc/../../../contrib /llvm/lib/Target/AArch64/MCTargetDesc -I . -I /usr/src/lib/clang/libllvmaarch64desc/../../../contrib/llvm/../../lib/clan g/include -I /usr/obj/usr/src/tmp/legacy/usr/include -internal-isystem /usr/include/c++/v1 -O2 -Wno-c++11-extensions -st d=3Dc++11 -fdeprecated-macro -fdebug-compilation-dir /usr/obj/usr/src/tmp/usr/src/lib/clang/libllvmaarch64desc -ferror-lim it 19 -fmessage-length 45 -mstackrealign -fno-rtti -fobjc-runtime=3Dgnustep -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o AArch64MCTargetDesc.o -x c++ /usr/src/lib/clang/libllvmaarch64desc/../../../contrib/l lvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp 1. parser at end of file 2. Code generation c++: error: unable to execute command: Bus error (core dumped) c++: error: clang frontend command failed due to signal (use -v to see invocation) FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 Target: x86_64-unknown-freebsd10.3 Thread model: posix c++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrac e, 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: /tmp/AArch64MCTargetDesc-e496dc.cpp c++: note: diagnostic msg: /tmp/AArch64MCTargetDesc-e496dc.sh c++: note: diagnostic msg: --=20 You are receiving this mail because: You are on the CC list for the bug.=