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

Chris Lattner sabre at nondot.org
Thu Oct 11 09:43:14 PDT 2007


On Thu, 11 Oct 2007, David Greene wrote:
> On Thursday 11 October 2007 11:24, David Greene wrote:
>> 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.
>
> Aha!  I found this previous thread:
>
> http://lists.cs.uiuc.edu/pipermail/llvmdev/2007-May/009177.html
>
> I am now trying to build with --disable-multilib.  I'll bet llvm-gcc doesn't
> support multilib compilers right now.  I'll let you know how it turns out.

Hrm, it does on darwin.  This is probably a target-specific bug, probably 
something missing from gcc/confing/linux.h.  In any case, if this works, 
please add a comment to README.LLVM in llvm-gcc so that future people know 
about this.  Thanks!

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list