public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: TOC overflow on linuxppc64
@ 2003-08-29 17:36 Steve Munroe
  2003-08-29 17:42 ` Christoph Hellwig
  0 siblings, 1 reply; 9+ messages in thread
From: Steve Munroe @ 2003-08-29 17:36 UTC (permalink / raw)
  To: Mohammed Tajuddin; +Cc: amodra, gcc, linuxppc64-dev

For compatability with the current SLES 8 and xlc you should use the 
glibc-2.2.5 plus patches from 
ftp://ftp.linuxppc64.org/pub/people/sjmunroe/glibc225-ppc64-20021120.patch

^ permalink raw reply	[flat|nested] 9+ messages in thread
* TOC overflow on linuxppc64
@ 2003-08-29  9:02 Mohammed Tajuddin
  2003-08-29 13:24 ` Alan Modra
  0 siblings, 1 reply; 9+ messages in thread
From: Mohammed Tajuddin @ 2003-08-29  9:02 UTC (permalink / raw)
  To: amodra, linuxppc64-dev, gcc

Hello,

Can someone guide me to fix the problem with TOC overflow on linux
ppc64. After my various attempts building binutils/gcc/glibc following
instructions on linuxppc64.org, I continue to get the same error. 

gnu/local/lib/gcc-lib/powerpc64-linux/3.2.3/crtend.o(.text+0xa): In
function `.__do_global_ctors_aux':
: relocation truncated to fit: R_PPC64_TOC16_DS .toc

I don't have any problems building binutils etc. Somehow I am unable to
get the correct patch although its their on the internet. Following are 
the different versions I have tried so far. 
a. binutils 2.14, gcc 3.2 and glibc 2.3 with the patch
gcc-20030611-ppc64.diff
b. binutils 2.14, gcc 3.1 and glibc 2.3 with the above patch
c. binutils 2.14, gcc 3.3 and glibc 2.3 with the above patch
d. binutils 2.14, gcc 3.2 and glibc 2.2.5 with the above patch
e. binutils 2.14, gcc 3.2 and glibc 2.3 with all the gcc patches on
linuxppc64.org although there were failures while applying the patch.

Appreciate your feedback with the problem of multiple TOC. Please let me
know if anyone has tried, the exact versions of the different tools to
fix this problem. 

Regards,
TAJ

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-09-09  6:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-29 17:36 TOC overflow on linuxppc64 Steve Munroe
2003-08-29 17:42 ` Christoph Hellwig
2003-08-29 17:46   ` Jakub Jelinek
2003-09-09  3:22   ` how to access PC Mohammed Tajuddin
2003-09-09  5:21     ` Andrew Pinski
2003-09-09  6:35       ` Richard Henderson
  -- strict thread matches above, loose matches on Subject: below --
2003-08-29  9:02 TOC overflow on linuxppc64 Mohammed Tajuddin
2003-08-29 13:24 ` Alan Modra
2003-09-02 17:25   ` Mohammed Tajuddin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).