Hi
A long time issue with ScummVM on RISC OS is that it fails to link when building with too many engines enabled with errors like the ones below. Some of these are fixed when building ScummVM with -mlong-calls, however there are still relocation errors involving crt and UnixLib code. Is there any way of building GCCSDK as a whole using -mlong-calls or something similar?
Regards
Cameron
crtstuff.c:(.text+0x2c): relocation truncated to fit: R_ARM_PC24 against symbol `__rt_stkovf_split_small' defined in .text section in /home/cameron/gccsdk/cross/lib/gcc/arm-unknown-riscos/4.7.4/../../../../arm-unknown-riscos/lib/libunixlib.a(_syslib.o)
/home/cameron/gccsdk/cross/lib/gcc/arm-unknown-riscos/4.7.4/crtbegin.o: In function `register_tm_clones':
crtstuff.c:(.text+0x90): relocation truncated to fit: R_ARM_PC24 against symbol `__rt_stkovf_split_small' defined in .text section in /home/cameron/gccsdk/cross/lib/gcc/arm-unknown-riscos/4.7.4/../../../../arm-unknown-riscos/lib/libunixlib.a(_syslib.o)
/home/cameron/gccsdk/cross/lib/gcc/arm-unknown-riscos/4.7.4/crtbegin.o: In function `__do_global_dtors_aux':
crtstuff.c:(.text+0x100): relocation truncated to fit: R_ARM_PC24 against symbol `__rt_stkovf_split_small' defined in .text section in /home/cameron/gccsdk/cross/lib/gcc/arm-unknown-riscos/4.7.4/../../../../arm-unknown-riscos/lib/libunixlib.a(_syslib.o)
/home/cameron/gccsdk/cross/lib/gcc/arm-unknown-riscos/4.7.4/crtbegin.o: In function `call___do_global_dtors_aux':
crtstuff.c:(.text+0x1a8): relocation truncated to fit: R_ARM_PC24 against symbol `__rt_stkovf_split_small' defined in .text section in /home/cameron/gccsdk/cross/lib/gcc/arm-unknown-riscos/4.7.4/../../../../arm-unknown-riscos/lib/libunixlib.a(_syslib.o)
/home/cameron/gccsdk/cross/lib/gcc/arm-unknown-riscos/4.7.4/crtbegin.o: In function `frame_dummy':
crtstuff.c:(.text+0x1d0): relocation truncated to fit: R_ARM_PC24 against symbol `__rt_stkovf_split_small' defined in .text section in /home/cameron/gccsdk/cross/lib/gcc/arm-unknown-riscos/4.7.4/../../../../arm-unknown-riscos/lib/libunixlib.a(_syslib.o)
/home/cameron/gccsdk/cross/lib/gcc/arm-unknown-riscos/4.7.4/crtbegin.o: In function `call_frame_dummy':
crtstuff.c:(.text+0x224): relocation truncated to fit: R_ARM_PC24 against symbol `__rt_stkovf_split_small' defined in .text section in /home/cameron/gccsdk/cross/lib/gcc/arm-unknown-riscos/4.7.4/../../../../arm-unknown-riscos/lib/libunixlib.a(_syslib.o)
/home/cameron/gccsdk/cross/lib/gcc/arm-unknown-riscos/4.7.4/crtbegin.o:(.fini+0x0): relocation truncated to fit: R_ARM_PC24 against `__do_global_dtors_aux'
/home/cameron/gccsdk/cross/lib/gcc/arm-unknown-riscos/4.7.4/crtend.o:(.init+0x0): relocation truncated to fit: R_ARM_PC24 against `__do_global_ctors_aux'
base/libbase.a(commandLine.o): In function `Base::buildQualifiedGameName(Common::String const&, Common::String const&)':
commandLine.cpp:(.text._ZN4BaseL22buildQualifiedGameNameERKN6Common6StringES3_+0x4c): relocation truncated to fit: R_ARM_PC24 against symbol `__rt_stkovf_split_small' defined in .text section in /home/cameron/gccsdk/cross/lib/gcc/arm-unknown-riscos/4.7.4/../../../../arm-unknown-riscos/lib/libunixlib.a(_syslib.o)
commandLine.cpp:(.text._ZN4BaseL22buildQualifiedGameNameERKN6Common6StringES3_+0x64): relocation truncated to fit: R_ARM_PC24 against symbol `Common::String::format(char const*, ...)' defined in .text._ZN6Common6String6formatEPKcz section in common/libcommon.a(str.o)
base/libbase.a(commandLine.o): In function `Base::usage(char const*, ...)':
commandLine.cpp:(.text._ZN4BaseL5usageEPKcz+0x38): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status
make: *** [Makefile.common:90: scummvm,e1f] Error 1
No comments:
Post a Comment