Skip to contentSkip to conversation

relocation truncated to fit: PCREL21B __rtti_class

Linux-ia64 Thomas Hiller 2 participants 2 messages Mar 29, 2001

lore
Share & tools
lore
#0 lore raw

iaxxsusr.o:/data/d022301/iaxxqeryif.hpp:175: relocation truncated to fit:
PCREL21B __rtti_class
collect2: ld returned 1 exit status
...

What's the reason for this ? Is this a toolchain problem ? If yes, when will it be fixed ?

Thanks in advance,
Thomas

--

Thomas Hiller                                           [email protected]
COMPAQ Computer Corporation                             [email protected]
Global SAP Solution Center                              Tel: +49 6227 / 7-45426
LinuxLab @ SAP, Walldorf                                Fax: +49 6227 / 7-55426
#1 lore raw
Quoted 2 lines

iaxxsusr.o:/data/d022301/iaxxqeryif.hpp:175: relocation truncated to fit:
PCREL21B __rtti_class

This is probably an out-of-range branch/call. These are supposed to be handled automatically by the toolchain, but currently, they work only if you explicitly turn on linker relaxation. You can do that with the gcc option "-Wl,-relax".

If that doesn't solve the problem, then I would need more info. Preferably a testcase that I can use to reproduce the problem here.

Jim