Displaying 3 results from an estimated 3 matches for "typedb".
Did you mean:
typed
2007 Oct 11
0
[LLVMdev] Can't bootstrap llvm-gcc-4.0 for x84_64
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
2007 Oct 11
3
[LLVMdev] Can't bootstrap llvm-gcc-4.0 for x84_64
...type to be a function pointer of size
32, which would indicate 32-bit code. The llvm type is PointerTyID
of size 64, indicating 64-bit code.
This happens at line 796 of llvm-types.cpp:
if (Ty->getTypeID() == Type::VoidTyID)
Ty = Type::Int8Ty; // void* -> sbyte*
return TypeDB.setType(type, PointerType::get(Ty));
Somehow PointerType::get is returning a 64-bit pointer even though
-m32 was passed to llvm-gcc.
I'll see if I can figure out where the 64-bit code warning is emitted and
what triggers it.
-Dave
2007 Oct 10
3
[LLVMdev] Can't bootstrap llvm-gcc-4.0 for x84_64
On Wednesday 10 October 2007 17:12, David Greene wrote:
> This particular problem is gone (thanks!) but I'm having other troubles.
> I'm tracking those down now.
This is the current problem:
[x86_64-off-dbg]: ./xgcc -B./
-B/install.official.debug/x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/bin/
-isystem