Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: david_mcnamara@my-dejanews.com
Subject: ld: BRADDR error on Alpha linux
Date: 1999/03/08	[thread overview]
Message-ID: <7c19ll$kp7$1@nnrp1.dejanews.com> (raw)

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.

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

Does anyone have a clue what this means? It seems as though their
is a branch that, perhaps, is a longer jump then can be made. Perhaps
this is related to the alpha being a 64 bit machine and, maybe, the
program
needs to make a jump that is being represented by a 64 bit address and
the
loader can't handle it?

Any help, insight, pointers to more information would be greatly
appreciated. Maybe there's a better place to post this message...


David McNamara
dave@psrv.com


-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    



             reply	other threads:[~1999-03-08  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-08  5:00 david_mcnamara [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-03-05  5:00 ld: BRADDR error on alpha linux dave
1999-03-06  5:00 ` Toon Moene
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