R_PPC_REL24 RELOCATION out of range
Derick Centeno
aguilarojo at verizon.net
Sun Jan 30 10:36:27 MST 2005
>
> From: Stijn Blancke <stijn_blancke at softhome.net>
> Date: 2005/01/23 Sun AM 01:43:07 EST
> To: yellowdog-general at lists.terrasoftsolutions.com
> CC: Stijn_blancke at softhome.net
> Subject: R_PPC_REL24 RELOCATION out of range
>
> While trying to run a program that works fine on x86 architecture I get
> the following error.
>
> error while loading shared libraries: /home/fang/rc/lib/libWindows.so:
> R_PPC_REL24 relocation at 0x0f04f0d8 for symbol `fwrite' out of range
>
>
> When I try
>
> #readelf -a /home/fang/rc/lib/libWindows.so | grepfwrite
>
> I get :
>
> 000020d8 0000a70a R_PPC_REL24 00000000 fwrite + 0
> 00002114 0000a70a R_PPC_REL24 00000000 fwrite + 0
> 00002238 0000a70a R_PPC_REL24 00000000 fwrite + 0
> 00002274 0000a70a R_PPC_REL24 00000000 fwrite + 0
> 167: 00000000 408 FUNC GLOBAL DEFAULT UND fwrite at GLIBC_2.0 (2)
> 198: 00000000 408 FUNC GLOBAL DEFAULT UND fwrite@@GLIBC_2.0
>
> Is there anybody with the same problem or has a solution how to fix
> this.
>
>
> --
> Stijn Blancke <stijn_blancke at softhome.net>
It appears that the programmer didn't take into account the nuances of how the
PPC processes code differently from x86 systems. You obviously know your way
about Linux. If your skills are up to it, you could go into the source code of
the app itself for the problem, correct it and send the corrections to the
developers of that project (documenting your changes, etc.). If that is not
possible, you are going to have to report to them what you discovered
othwerwise it may not be corrected.
These kind of errors happen all the time, and probably will stay with us as
long as humanity exists.
More information about the yellowdog-general
mailing list