This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: g77:relocation truncated


        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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]