This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
PowerPC w/ shared libgcc: "R_PPC_REL24 relocation... out of range"
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: binutils at sources dot redhat dot com, gcc at gcc dot gnu dot org
- Date: Fri, 16 Nov 2001 00:01:46 +1300
- Subject: PowerPC w/ shared libgcc: "R_PPC_REL24 relocation... out of range"
I'm getting the following error when I try to run something linked
against shared libgcc with current GCC:
$ ./a.out
./a.out: error while loading shared libraries:
/home/bryce/gcc/lib/libgcc_s.so.1: R_PPC_REL24 relocation at 0x0ffd5ca4
for symbol `_Jv_RegisterClasses' out of range
_Jv_RegisterClasses is a weak symbol defined in libgcj, if I link with
libgcj then things work ok.
I've tried applying Franz Sirl's patch to fix shared libgcc:
http://gcc.gnu.org/ml/gcc-patches/2001-11/msg00340.html
... but it doesn't seem to help. My binutils is 2.11.92.0.10
regards
Bryce.