clang 3.2 build error

See attachments: config.log

Error on command line:

llvm[4]: Compiling InitHeaderSearch.cpp for Release+Asserts build
/home/jamitch/Downloads/llvm-3.2.src/tools/clang/lib/Frontend/InitHeaderSearch.cpp: In member function ‘void::InitHeaderSearch::AddMinGWCPlusPlusIncludePaths(llvm::StringRef, llvm::StringRef, llvm::StringRef)’:
/home/jamitch/Downloads/llvm-3.2.src/tools/clang/lib/Frontend/InitHeaderSearch.cpp:197:1: error: unrecognizable insn:
(insn 318 317 46 2 /home/jamitch/Downloads/llvm-3.2.src/include/llvm/ADT/Twine.h:181 (set (reg:DI 23 xmm2)
(plus:DI (reg:DI 23 xmm2)
(mem/u/c/i:DI (symbol_ref/u:DI (".LC22") [flags 0x2]) [0 S8 A64]))) -1 (expr_list:REG_EQUIV (plus:DI (reg/f:DI 7 sp)
(mem/u/c/i:DI (symbol_ref/u:DI ("
.LC22") [flags 0x2]) [0 S8 A64]))
(nil)))
/home/jamitch/Downloads/llvm-3.2.src/tools/clang/lib/Frontend/InitHeaderSearch.cpp:197:1: internal compiler error: in extract_insn, at recog.c:2131
Please submit a full bug report,
with preprocessed source if appropriate.
See http://bugzilla.redhat.com/bugzilla for instructions.
Preprocessed source stored into /tmp/ccd8oqnr.out file, please attach this to your bugreport.
make[4]: *** [/home/jamitch/Downloads/llvm-3.2.src.build/tools/clang/lib/Frontend/Release+Asserts/InitHeaderSearch.o] Error 1
make[4]: Leaving directory /home/jamitch/Downloads/llvm-3.2.src.build/tools/clang/lib/Frontend' make[3]: *** [Frontend/.makeall] Error 2 make[3]: Leaving directory /home/jamitch/Downloads/llvm-3.2.src.build/tools/clang/lib’
make[2]: *** [all] Error 1
make[2]: Leaving directory /home/jamitch/Downloads/llvm-3.2.src.build/tools/clang' make[1]: *** [clang/.makeall] Error 2 make[1]: Leaving directory /home/jamitch/Downloads/llvm-3.2.src.build/tools’
make: *** [all] Error 1
[jamitch@flame llvm-3.2.src.build]$

config.log (189 KB)

ccd8oqnr.out (1.25 MB)

Hello Mitchell,

This is an internal compiler error in GCC, you can report it to RedHat as the message states. (In other words: your GCC is buggy)

Dmitri