<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jun 4, 2009, at 12:41 PMPDT, Murat B wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><table cellspacing="0" cellpadding="0" border="0" style="position: static; z-index: auto; "><tbody><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:</td></tr></tbody></table></blockquote><div><br></div><div>That looks like you have old sources, I fixed this crash a while back.  See PR 3099.</div><div><br></div><div>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.</div><br><blockquote type="cite"><table cellspacing="0" cellpadding="0" border="0" style="position: static; z-index: auto; "><tbody><tr><td valign="top" style="font: inherit;">../../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></tbody></table><br>       _______________________________________________<br>LLVM Developers mailing list<br>LLVMdev@cs.uiuc.edu         <a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></blockquote></div><br></body></html>