public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Possible Relocation Overflow ??
@ 1999-07-13  7:48 Koundinya.K
  1999-07-13  8:10 ` Mark Mitchell
  1999-07-13  8:58 ` Ian Lance Taylor
  0 siblings, 2 replies; 4+ messages in thread
From: Koundinya.K @ 1999-07-13  7:48 UTC (permalink / raw)
  To: binutils; +Cc: ian

Hi,
	At last I could compile the latest binutils (binutils-990713) !. But then 
when I try to compile hello.c I get the following error.

___________ Clip of gcc -v hello.c -o hello _____________________________

****** Earlier stuff not shown **************

/usr/cygnus/H-mips-dde-sysv4.2MP/lib/crt1.o: In function `__start':
/usr/cygnus/H-mips-dde-sysv4.2MP/lib/crt1.o(.text+0x14): relocation 
truncated to
 fit: R_MIPS_LO16 _gp_disp
collect2: ld returned 1 exit status

_____________________________________________________________________________
__

O.K Then I tried to use the startup files which my native compiler uses, and 
still got the same results.

I used the binutils binaries which I had saved, and were from the previous 
version (binutils-990702). I did not have any problems that I am having from 
the current snapshot.

Then out of curiosity I tried to generate a statically linked binary. ( 
Though I know that I have not been successful in generating one so far ), I 
got the error that

_________________ Clip of gcc -static hello.c -o hello.static __________

**** Earlier stuff not shown ***********

/usr/cygnus/H-mips-dde-sysv4.2MP/lib/crti.o: In function `_init':
/usr/cygnus/H-mips-dde-sysv4.2MP/lib/crti.o(.init+0xc): undefined reference 
to `_gp_disp'
collect2: ld returned 1 exit status

____________________________________________________________________________

And yet again I got the same result when I used the startup files which my 
native compiler uses.

Are anyone else facing these type of problems ??

Cheers !!.

Koundinya

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

end of thread, other threads:[~1999-07-13 15:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-13  7:48 Possible Relocation Overflow ?? Koundinya.K
1999-07-13  8:10 ` Mark Mitchell
1999-07-13  8:58 ` Ian Lance Taylor
1999-07-13 15:28   ` Mark Mitchell

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