[LLVMdev] Can't bootstrap llvm-gcc-4.0 for x84_64

Duncan Sands baldrick at free.fr
Thu Oct 11 00:39:08 PDT 2007


Hi David,

> "LLVM type size doesn't match GCC type size!"' failed.

this assertion checks that gcc types are converted into
LLVM types of the same size.  Try running cc1 in gdb.
When you hit the assertion, go up a few stack frames
until you get to ConvertType.  Do
	call debug_tree(type)
That will tell you what the gcc type was.  From that
and the LLVM type it should be clear what the ultimate
cause of the problem was.

Ciao,

Duncan.



More information about the llvm-dev mailing list