public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Linking very large application with GCC trunk on powerpc-linux  leads to relocation error of crtbegin/end.o
@ 2008-06-16 11:28 Laurent GUERBY
  2008-06-16 14:07 ` Alan Modra
  0 siblings, 1 reply; 16+ messages in thread
From: Laurent GUERBY @ 2008-06-16 11:28 UTC (permalink / raw)
  To: gcc, Peter Bergner

Hi,

When linking a very large (> 100MB executable) application on
powerpc-linux with trunk we get linker errors:

.../lib/gcc/powerpc-unknown-linux-gnu/4.4.0/crtbegin.o:(.fini+0x0):
relocation truncated to fit: R_PPC_REL24 against `.text'
.../lib/gcc/powerpc-unknown-linux-gnu/4.4.0/crtend.o:(.init+0x0):
relocation truncated to fit: R_PPC_REL24 against `.text' 

The application itself is compiled with -mlongcall,
would adding -mlongcall to crtstuff.c Makefile rule help here?
If no, what is the proper solution GCC-wise?

Thanks in advance,

Laurent

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

end of thread, other threads:[~2008-08-06  7:41 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-16 11:28 Linking very large application with GCC trunk on powerpc-linux leads to relocation error of crtbegin/end.o Laurent GUERBY
2008-06-16 14:07 ` Alan Modra
2008-06-16 17:51   ` Laurent GUERBY
2008-06-29 11:37     ` Andreas Jaeger
2008-06-29 12:24       ` David Edelsohn
2008-06-29 13:09         ` Andreas Schwab
2008-06-30  5:30           ` Andreas Jaeger
2008-06-30 11:45             ` David Edelsohn
2008-06-30 13:23               ` Andreas Jaeger
2008-06-30 14:02                 ` laurent
2008-06-30 14:26                   ` Andreas Jaeger
2008-06-30 14:32                     ` David Edelsohn
2008-06-30 14:38                       ` Andreas Jaeger
2008-06-30 15:07                         ` David Edelsohn
2008-07-01  0:00                           ` Alan Modra
2008-08-06  7:41                             ` Alan Modra

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).