Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Aug 2016 07:34:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 212098] Clang crashes on amd64 buildworld 10.3 -> releng/11.0
Message-ID:  <bug-212098-6@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.      <eof> 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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212098-6>