Compilation error on Linux PPC

Kriti Dutta kriti.dutta at oracle.com
Thu Jan 12 02:02:33 EST 2006



> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 2624 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20060111/69831e2e/attachment.bin>


More information about the Linuxppc-dev mailing list