Possible bug in egcs-19990517 with IRIX/mips4.

Jeffrey A Law law@upchuck.cygnus.com
Mon May 31 21:06:00 GMT 1999


  In message < 374E4085.811CD3A7@hfm.tu-graz.ac.at >you write:
  > Unfortunately the result crashes, while with SGI's cc
  > everything's alright. 
  > (for further information see my posting to bug-gnu-emacs)
You should post the analysis here.  It is unlikely that all the egcs
developers read bug-gnu-emacs.


  > Another thing that strikes me is, that obviously on my box
  > specifying -mips3 also activates -mlong64
Yes.


  > (Is this a feature or a bug ?)
It is correct behavior -mips3 and -mips4 will turn on -mlong64.

  > Maybe this is a problem causes by the following warning by
  > ld when I compile with -mips3:
  > 
  > /home/wglas/tmp > gcc -mips3 conf.c -o conf
  > ld32: WARNING 158: Expecting MIPS3 objects:
  > /usr/local/lib/gcc-lib/mips-sgi-irix6.5/egcs-2.91.66/crtbegin.o
  > is MIPS4.
  > 
  > So one might think, that egcs should provide for different
  > crtbegin.o and crtend.o files i.e. in
If you are going to link mips3 code, then you need mips3 startup files
and libraries.

jeff



More information about the Gcc-bugs mailing list