Compilation error on Linux PPC

From: Kriti Dutta <hidden>
Date: 2006-01-11 15:02:47

While building one of our library,the following error was reported:

/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../lib/crti.o(.text+0x1
0): In function `call_gmon_start':
/usr/src/packages/BUILD/glibc-2.3/cc/csu/crti.S:16: relocation truncated
to fit: R_PPC_LOCAL24PC _GLOBAL_OFFSET_TABLE_+fffffffffffffffc
/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/crtbeginS.o(.text+0xa4): In
function `__do_global_dtors_aux':
: relocation truncated to fit: R_PPC_PLTREL24 __cxa_finalize@@GLIBC_2.1.3
/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/crtbeginS.o(.fini+0x0):
relocation truncated to fit: R_PPC_LOCAL24PC .text+4
/usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/crtendS.o(.init+0x0): relocation
truncated to fit: R_PPC_LOCAL24PC .text+4
obj/opt/dcbagg.o(.text+0x10): In function `__sinit65535()':
: relocation truncated to fit: R_PPC_LOCAL24PC
_GLOBAL_OFFSET_TABLE_+fffffffffffffffc
obj/opt/dcbagg.o(.text+0x28): In function `__sinit65535()':
: relocation truncated to fit: R_PPC_PLTREL24
_ZNSt8ios_base4InitC1Ev@@GLIBCPP_3.2
obj/opt/dcbagg.o(.text+0x34): In function `__sinit65535()':
: relocation truncated to fit: R_PPC_PLTREL24 atexit
obj/opt/dcbagg.o(.text+0x3c): In function `__sinit65535()':
: relocation truncated to fit: R_PPC_PLTREL24
OLLogger_Dest::OLLogger_Dest()
obj/opt/dcbagg.o(.text+0x48): In function `__sinit65535()':
: relocation truncated to fit: R_PPC_PLTREL24 atexit
obj/opt/dcbagg.o(.text+0x7c): In function `__srterm__0()':
: relocation truncated to fit: R_PPC_LOCAL24PC
_GLOBAL_OFFSET_TABLE_+fffffffffffffffc
obj/opt/dcbagg.o(.text+0x90): In function `__srterm__0()':
: additional relocation overflows omitted from the output

Its worth mentioning here that we didn't face any such issue while
building our other libraries and our .o's .

M/C Details:
uname -a : -
 Linux staxj05 2.6.5-7.139-pseries64 #1 SMP Fri Jan 14 15:41:33 UTC 2005
ppc64 ppc64 ppc64 GNU/Linux

xlC Version : -
  xlC 7.0

gcc -v : -
  gcc version 3.3.3 (SuSE Linux)
  

 
 With regards
   Kriti.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help