buildworld fails with clang on powerpc
matt
matto at 63bit.net
Wed Sep 26 05:50:45 UTC 2012
I think this might be related:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120611/144385.html
clang -mcpu=7450 -O2 -pipe -fno-strict-aliasing
-I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include
-I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/include
-I/usr/src/lib/clang/libllvmso
only local-exec TLS mode supported
UNREACHABLE executed at
/usr/src/lib/clang/libllvmpowerpccodegen/../../../contrib/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1257!
Stack dump:
0. Program arguments: /usr/bin/clang -cc1 -triple
powerpc-unknown-freebsd10.0 -S -disable-free -main-file-name regcomp.c
-mrelocation-model static -mdisable-fp-elim -relaxed-aliasing
-mconstructor-aliases -target-cpu 7
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module
'/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support/regcomp.c'.
4. Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on
function '@p_bracket'
clang: error: unable to execute command: Abort trap: 6 (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 3.2 (trunk 162107) 20120817
Target: powerpc-unknown-freebsd10.0
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed
source, and associated run script.
clang: note: diagnostic msg:
********************
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/regcomp-Wu8o3h.c
clang: note: diagnostic msg: /tmp/regcomp-Wu8o3h.sh
clang: note: diagnostic msg:
********************
*** [regcomp.o] Error code 254
Stop in /usr/src/lib/clang/libllvmsupport.
*** [bootstrap-tools] Error code 1
Stop in /usr/src.
*** [_bootstrap-tools] Error code 1
Stop in /usr/src.
*** [buildworld] Error code 1
Stop in /usr/src.
More information about the freebsd-ppc
mailing list