[Bug 212098] Clang crashes on amd64 buildworld 10.3 -> releng/11.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 24 07:34:43 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212098

            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 at FreeBSD.org
          Reporter: crees at FreeBSD.org
                CC: freebsd-amd64 at FreeBSD.org
                CC: freebsd-amd64 at 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-e496dc.cpp

https://www.bayofrum.net/~crees/scratch/clangcrash/AArch64MCTargetDesc-e496dc.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/clang/include
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD
 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DNDEBUG -fno-strict-aliasing
-DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unkn
own-freebsd11.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd11.0\"
-DDEFAULT_SYSROOT=\"/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=
c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -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-freebsd10.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="x86_64-unknown-freebsd11.0"
-D LLVM_HOST_TRIPLE="x86_64-unknown-free
bsd11.0" -D DEFAULT_SYSROOT="/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=c++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=gnustep
-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:

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list