From: Toon Moene <toon@moene.indiv.nluug.nl>
Subject: Re: ld: BRADDR error on alpha linux
Date: 1999/03/06 [thread overview]
Message-ID: <36E11843.C775039E@moene.indiv.nluug.nl> (raw)
In-Reply-To: 7bpgps$buj$1@nnrp1.dejanews.com
dave@psrv.com wrote:
>
> I'm hoping someone can help me with an error I get on an Alpha-linux box
> for a program I am porting. I am using g77 0.5.23 to compile (gcc
> 2.8.1).
> The program (a large one) ports successfully using this combination on
> a Intel-linux box.
>
> I had initial problems building gcc. It seems as though gcc created
> a ".set noat" command in the assembly code and then issued several
> commands (stb,ldbu,stw,ldwu) which resulted in gcc compiler errors like:
> register $at required while noat in effect.
> I changed an include file (config/alpha/elf.h) to stop putting out the
> .set noat command. gcc then finished building, as did g77 and I
> was able to compile and link small c and f77 programs.
This is repaired in egcs (see http://egcs.cygnus.com - you want the
egcs-1.1.1 release).
> I then began to compile and link my large program, about 300,000 lines
> of
> fortran and some smaller number of lines of C. All 2000
> subroutines/functions
> compiled successfully. However; when I tried to link, I got this error
> message:
>
> /usr/local/lib/gcc-lib/alphaev56-unknown-linux-gnu/2.8.1/crtend.o(.init+0x0):
> re location truncated to fit: BRADDR text
> /usr/local/lib/gcc-lib/alphaev56-unknown-linux-gnu/2.8.1/crtbegin.o(.fini+0x0
> ): relocation truncated to fit: BRADDR text
This is a problem in an older version of the GNU binutils linker. Which
version are you using ? (this problem showed up on Red Hat 4.2, IIRC).
HTH,
--
Toon Moene (toon@moene.indiv.nluug.nl)
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Phone: +31 346 214290; Fax: +31 346 214286
g77 Support: fortran@gnu.org; egcs: egcs-bugs@cygnus.com
next prev parent reply other threads:[~1999-03-06 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-05 5:00 ld: BRADDR error on alpha linux dave
1999-03-06 5:00 ` Toon Moene [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-03-08 5:00 ld: BRADDR error on Alpha linux david_mcnamara
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox