This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

Re: PowerPC w/ shared libgcc: "R_PPC_REL24 relocation... out of range"


H . J . Lu wrote:

>On Fri, Nov 16, 2001 at 12:01:46AM +1300, Bryce McKinlay wrote:
>
>>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
>>
>
>Could you please do
>
># readelf -a libgcc_s.so.1  | grep _Jv_RegisterClasses
>
>Something is wrong with your libgcc_s.so.1.
>
$ readelf -a libgcc_s.so.1  | grep _Jv_RegisterClasses
00001c8e  00008106 R_PPC_ADDR16_HA       00000000  
_Jv_RegisterClasses       + 0
00001c92  00008104 R_PPC_ADDR16_LO       00000000  
_Jv_RegisterClasses       + 0
00001ca4  0000810a R_PPC_REL24           00000000  
_Jv_RegisterClasses       + 0
   129: 00000000     0 NOTYPE  WEAK   DEFAULT  UND _Jv_RegisterClasses
   349: 00000000     0 NOTYPE  WEAK   DEFAULT  UND _Jv_RegisterClasses


regards

Bryce.



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