[LLVMdev] llvm-gcc 4.2 building failed on x86-64

Scott Michel scottm at aero.org
Wed Mar 5 09:21:20 PST 2008


On Mar 4, 2008, at 2:39 AM, ST wrote:

> Hi Sheng
> Am Dienstag, 4. März 2008 schrieb Zhou Sheng:
>> Current llvm-gcc 4.2 building failed on X86-64,  here is the dump
> I am not followng head closely but may it be that the current head  
> still
> doesn't support amd64 proper:
>
> gcc README.LLVM:
> "When targeting non-darwin X86-64/AMD-64/EM64-T, configure with
> --disable-shared.  The LLVM X86-64 backend doesn't support PIC  
> codegen on
> non-darwin systems yet.  If you get a build error, try configuring  
> with
> --disable-multilib."

I encountered this bug intermittently using llvm Release, but cannot  
reproduce it when using llvm Debug. But the failure occurs inside of  
llvm.

Consequently, your suggestion won't work.

Also, the build is broken on x86_64 because somehow references to  
alloca() turned into an unresolved extern.


-scooter



More information about the llvm-dev mailing list