This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]