This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: g77:relocation truncated
- To: capel at crim12b dot nsls dot bnl dot gov (m. capel)
- Subject: Re: g77:relocation truncated
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Wed, 10 Jun 98 23:09:50 +0200
- Cc: egcs at cygnus dot com
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <199806101217.IAA03012@crim12b.nsls.bnl.gov>
this is probably a crass newbie question but anyway...
Hodie tibi, cras mihi :-)
we're trying to compile a very large source tree with
huge static array allocations under egcs-g77-2.90.21
(dec pc164 system w. 256 Mbyte memory running linux-axp
kernel 2.0.30, redhat 4.2). we're getting thousands of
"relocation truncated to fit" messages during link phase.
are we missing some crucial compiler switch???
The linker on Red Hat 4.2 is utterly unable to link large
executables (it cannot even link f771 from a recent snapshot, let
alone *real* programs :-)
The best thing is to upgrade to Red Hat 5.1 (which includes egcs)
and try again.
HTH,
--
Toon Moene (mailto:toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
g77 Support: mailto:fortran@gnu.org; NWP: http://www.knmi.nl/hirlam