On 17.06.2004 09:02:38 ZE2 Eric Deveaud wrote: > >and finaly > > >Linking xmame.x11 ... >/usr/lib/gcc-lib/powerpc-linux/3.3.2/../../../crt1.o(.text+0x20): In >function `_start': >./sysdeps/powerpc/powerpc32/elf/start.S:69: relocation truncated to >fit: R_PPC_REL24 __libc_start_main@@GLIBC_2.0 >/usr/lib/gcc-lib/powerpc-linux/3.3.2/../../../crti.o(.text+0x10): In >function `call_gmon_start': >/build/buildd/glibc-2.3.2.ds1/build-tree/powerpc-libc/csu/crti.S:16: >relocation truncated to fit: R_PPC_LOCAL24PC >_GLOBAL_OFFSET_TABLE_+fffffffffffffffc >xmame.obj/mame.o(.text+0xd4): In function `run_game': >: relocation truncated to fit: R_PPC_REL24 strlen@@GLIBC_2.0 >xmame.obj/mame.o(.text+0x12c): In function `run_game': >: relocation truncated to fit: R_PPC_REL24 puts@@GLIBC_2.0 >xmame.obj/mame.o(.text+0x16c): In function `run_game': >: relocation truncated to fit: R_PPC_REL24 puts@@GLIBC_2.0 >xmame.obj/mame.o(.text+0x1a4): In function `run_game': >: relocation truncated to fit: R_PPC_REL24 puts@@GLIBC_2.0 >xmame.obj/mame.o(.text+0x410): In function `run_machine': >: relocation truncated to fit: R_PPC_REL24 puts@@GLIBC_2.0 >xmame.obj/mame.o(.text+0x46c): In function `run_machine': >: relocation truncated to fit: R_PPC_REL24 puts@@GLIBC_2.0 >xmame.obj/mame.o(.text+0x4c8): In function `run_machine': >: relocation truncated to fit: R_PPC_REL24 puts@@GLIBC_2.0 >xmame.obj/mame.o(.text+0x548): In function `run_machine': >: relocation truncated to fit: R_PPC_REL24 rand@@GLIBC_2.0 >xmame.obj/mame.o(.text+0x564): In function `run_machine': >: additional relocation overflows omitted from the output >collect2: ld returned 1 exit status >make: *** [xmame.x11] Error 1
This is because the resulting executable is too large for the 24bit offsets in the branch instruction. I got it to compile (0.82.1) the following way: * add -mlongcall to compile flags * use binutils 2.15 and add -Wl,--relax to link flags regards, chris _______________________________________________ Xmame mailing list [EMAIL PROTECTED] http://toybox.twisted.org.uk/mailman/listinfo/xmame