[LLVMdev] clang 3.2 build error

Dmitri Gribenko gribozavr at gmail.com
Wed Jan 9 20:06:51 PST 2013


On Thursday, January 10, 2013, Mitchell, John A wrote:

>  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<unnamed>::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 at flame llvm-3.2.src.build]$
>

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



-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130110/dd2f205c/attachment.html>


More information about the llvm-dev mailing list