Unknown/unsupported reloc type with --relax

This forum is for general developer support questions.
Post Reply
Spirantho
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 34
Joined: Thu Jan 26, 2012 10:54 am

Unknown/unsupported reloc type with --relax

Post by Spirantho »

Hi everybody,

Compiling the latest MAME (0.145), I can get it to compile and run just fine when I compile the tiny version.
However, compiling the full version gives an executable of about 200MB, which means I have to use -Wl,--relax to make sure that the R_PPC_REL24 errors don't come up (truncation in relocation of symbols).
It now compiles well, and produces the correct file - but when I run it, I get the "Unknown/unsupported reloc type" dialogue box come up. Presumably it doesn't know how to handle the code trampolines installed with the --relax linker parameter.

Is there anything that can be done about this? I want to release a full MAME as apart from anything else it'd take good advantage from the X1000's fast CPU and - perhaps more importantly - the speed of its memory bus.

Thanks for any help!
Post Reply