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

Murat B murat8307 at yahoo.com
Thu Jun 4 12:41:25 PDT 2009


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:

../../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




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


More information about the llvm-dev mailing list