[LLVMdev] Is the head of llvm-gcc not working with the head of llvm for anyone else?

Erick Tryzelaar idadesub at users.sourceforge.net
Sat Aug 15 17:05:07 PDT 2009


I just tried to compile llvm-gcc against the top of llvm and I ran
into this error:

/.../llvm/llvm-gcc-build/./prev-gcc/xgcc
-B/.../llvm/llvm-gcc-build/./prev-gcc/
-B/.../llvm/llvm-gcc-install/x86_64-unknown-linux-gnu/bin/ -c
-DHAVE_CONFIG_H -g -O2 -I.
-I/.../llvm/llvm-gcc-4.2/libiberty/../include  -W -Wall -pedantic
-Wwrite-strings -Wstrict-prototypes -Wc++-compat
/.../llvm/llvm-gcc-4.2/libiberty/fibheap.c -o fibheap.o
cc1: .../llvm/llvm/include/llvm/CodeGen/ValueTypes.h:229: unsigned int
llvm::MVT::getSizeInBits() const: Assertion `0 && "getSizeInBits
called on extended MVT."' failed.

Is anyone else getting this, or did I configure llvm-gcc to build
incorrectly? This is what I specified:

> mkdir build
> cd build
> $LLVMGCC/configure --prefix=`pwd`/../install --program-prefix=llvm- --enable-llvm=$LLVMOBJDIR/build --enable-languages=c,c++




More information about the llvm-dev mailing list