[LLVMbugs] Can't build llvm-gcc at FreeBSD after last chages in llvm-gcc/gcc/llvm-types.c

Reid Spencer rspencer at x10sys.com
Sun Jul 18 13:43:18 PDT 2004


Vladimir,

You're breaking new territory :)

I've seen the "sanity check" error before. Probably your system doesn't 
have /lib/cpp. This is the case under cygwin. Just make a soft link to 
it and you'll solve that problem.

As for the ICE, I have no idea. Chris will have to look into that.

Reid.

Vladimir Merzliakov wrote:

>After changes in llvm-gcc/gcc/llvm-types.c:
>http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20040705/015778.html
>
>I can't build llvm-gcc.
>
>Build generate message:
>---8X-------------------------------------
>checking for BSD-compatible nm... nm
>checking how to recognise dependant libraries... Assertion failed: (0 &&
>"Unknown mode for pointer type!"), function llvm_type_get_size, file
>../../src/llvm-gcc/gcc/llvm-types.c, line 67.
><stdin>:0: internal compiler error: Abort trap
>Please submit a full bug report,
>with preprocessed source if appropriate.
>See <URL:http://llvm.cs.uiuc.edu> for instructions.
>pass_all
>checking for i386-unknown-freebsd5.1-ranlib... (cached) ranlib
>
>---X8-------------------------------------
>
>And later terminated with error:
>---8X-------------------------------------
>checking how to run the C++ preprocessor... /lib/cpp
>configure: error: C++ preprocessor "/lib/cpp" fails sanity check
>See `config.log' for more details.
>gmake: *** [configure-target-libstdc++-v3] Error 1
>
>---X8-------------------------------------
>
>I am attempt use gcc3.5 (current GCC CVS mainline) and gcc3.4.1 release
>
>Vladimir
>
>
>_______________________________________________
>LLVMbugs mailing list
>LLVMbugs at cs.uiuc.edu
>http://mail.cs.uiuc.edu/mailman/listinfo/llvmbugs
>
>  
>




More information about the llvm-bugs mailing list