<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi,<br><br>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:<br><br>../../gcc/config/rs6000/rs6000.c: In function ‘rs6000_override_options’:<br>../../gcc/config/rs6000/rs6000.c:1510: error: ‘MASK_MACHO_DYNAMIC_NO_PIC’ undeclared (first use in this function)<br>../../gcc/config/rs6000/rs6000.c:1510: error: (Each undeclared identifier is reported only once<br>../../gcc/config/rs6000/rs6000.c:1510: error: for each function it appears in.)<br>../../gcc/config/rs6000/rs6000.c: In function ‘rs6000_emit_prologue’:<br>../../gcc/config/rs6000/rs6000.c:16744: warning: implicit declaration of function ‘VECTOR_SAVE_INLINE’<br>../../gcc/config/rs6000/rs6000.c:16745: error:
‘lr_already_set_up_for_pic’ undeclared (first use in this function)<br>../../gcc/config/rs6000/rs6000.c: In function ‘rs6000_output_mi_thunk’:<br>../../gcc/config/rs6000/rs6000.c:18193: warning: implicit declaration of function ‘add_compiler_branch_island’<br>../../gcc/config/rs6000/rs6000.c:18193: warning: assignment makes pointer from integer without a cast<br>../../gcc/config/rs6000/rs6000.c:19886:8: warning: extra tokens at end of #endif directive<br>In file included from ../../gcc/config/rs6000/rs6000.c:22183:<br>./gt-rs6000.h: At top level:<br>./gt-rs6000.h:138: error: ‘branch_island_list’ undeclared here (not in a function)<br>make[2]: *** [rs6000.o] Error 1<br>make[2]: Leaving directory `/home/bolat/llvm-gcc4.2-2.2.source/obj/gcc'<br>make[1]: *** [all-gcc] Error 2<br>make[1]: Leaving directory `/home/bolat/llvm-gcc4.2-2.2.source/obj'<br>make: *** [all] Error 2<br><br>Has anyone met similar problem and solved it? I appreciate your
help.<br><br>Thanks,<br>Murat<br><br></td></tr></table><br>