This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


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

Possible Relocation Overflow ??


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


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