[LLVMdev] Compilation error in 64 Bit PowerPC machine with Yellowdog Linux 6.1

Dale Johannesen dalej at apple.com
Thu Jun 4 13:42:21 PDT 2009


On Jun 4, 2009, at 12:41 PMPDT, Murat B wrote:

> Hi,
>
> i am trying to compile llvm in a 64 Bit PowerPC machine with  
> Yellowdog Linux 6.1 operating system. I could compile llvm but when  
> I was trying to compile the llvm-gcc4.2 front end the compilation  
> aborted with following error message:

That looks like you have old sources, I fixed this crash a while  
back.  See PR 3099.

But note that PPC on Linux is not done, there are probably lots of ABI  
incompatibilities and I don't think anybody has gotten it to  
completely build and work.  Current state is in that PR.

> ../../gcc/config/rs6000/rs6000.c: In function  
> ‘rs6000_override_options’:
> ../../gcc/config/rs6000/rs6000.c:1510: error:  
> ‘MASK_MACHO_DYNAMIC_NO_PIC’ undeclared (first use in this function)
> ../../gcc/config/rs6000/rs6000.c:1510: error: (Each undeclared  
> identifier is reported only once
> ../../gcc/config/rs6000/rs6000.c:1510: error: for each function it  
> appears in.)
> ../../gcc/config/rs6000/rs6000.c: In function ‘rs6000_emit_prologue’:
> ../../gcc/config/rs6000/rs6000.c:16744: warning: implicit  
> declaration of function ‘VECTOR_SAVE_INLINE’
> ../../gcc/config/rs6000/rs6000.c:16745: error:  
> ‘lr_already_set_up_for_pic’ undeclared (first use in this function)
> ../../gcc/config/rs6000/rs6000.c: In function  
> ‘rs6000_output_mi_thunk’:
> ../../gcc/config/rs6000/rs6000.c:18193: warning: implicit  
> declaration of function ‘add_compiler_branch_island’
> ../../gcc/config/rs6000/rs6000.c:18193: warning: assignment makes  
> pointer from integer without a cast
> ../../gcc/config/rs6000/rs6000.c:19886:8: warning: extra tokens at  
> end of #endif directive
> In file included from ../../gcc/config/rs6000/rs6000.c:22183:
> ./gt-rs6000.h: At top level:
> ./gt-rs6000.h:138: error: ‘branch_island_list’ undeclared here (not  
> in a function)
> make[2]: *** [rs6000.o] Error 1
> make[2]: Leaving directory `/home/bolat/llvm-gcc4.2-2.2.source/obj/ 
> gcc'
> make[1]: *** [all-gcc] Error 2
> make[1]: Leaving directory `/home/bolat/llvm-gcc4.2-2.2.source/obj'
> make: *** [all] Error 2
>
> Has anyone met similar problem and solved it? I appreciate your help.
>
> Thanks,
> Murat
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090604/6fa45048/attachment.html>


More information about the llvm-dev mailing list