home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / gnu / gcc / bug / 3129 < prev    next >
Encoding:
Text File  |  1993-01-07  |  1.6 KB  |  58 lines

  1. Newsgroups: gnu.gcc.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!applelink.apple.COM!BJORKE
  3. From: BJORKE@applelink.apple.COM (Bjorke, Kevin,APD)
  4. Subject: GCC on SGI? NOT!
  5. Message-ID: <726368284.8982522@AppleLink.Apple.COM>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Thu, 7 Jan 1993 00:50:00 GMT
  10. Approved: bug-gcc@prep.ai.mit.edu
  11. Lines: 45
  12.  
  13. I have been unable to compile GCC 2.1 under SGI's IRIX version 4.
  14. While "configure" is perfectly happy with being told simply:
  15.  
  16.     configure iris
  17.  
  18. the subsequent "make" fails, albeit after many successful object compiles,
  19. on the file "mips-tfile.c" --- here's the log.
  20.  
  21. //////////////////////////////////////////////////
  22.  
  23. make LANGUAGES=c
  24.         cc -Wf,-XNg1500 -c  -O1  -g     -I. -I. -I./config mips-tfile.c
  25. accom: Error: /usr/include/errno.h, line 47: Qualifier mismatch in prototype,
  26. pointer to const  char  versus   pointer to char
  27.        extern void      perror(  char *);
  28.        ---------------------------------^
  29. accom: Error: /usr/include/errno.h, line 47: inconsistent prototypes for
  30. function perror
  31.        extern void      perror(  char *);
  32.        ---------------------------------^
  33. accom: Warning 100: mips-tfile.c, line 4979: statement not reached
  34.          return 0;
  35.        ----------^
  36. *** Error code 1
  37.  
  38. Stop.
  39. 4.2u 3.3s 0:09 79%
  40.  
  41. ////////////////////////////////////////////////////
  42.  
  43. Any suggestions?
  44.  
  45. Making the "configure" call more explicit, ie
  46.  
  47.     configure mips-sgi-irix4
  48.  
  49. Fails even more rapidly, with bogus (for the MIPS C compiler) calls to
  50. alloca().
  51.  
  52. I have repeated this failure on both my 4D35 (R3000 CPU) and a Crimson (R4000
  53. CPU).
  54.  
  55. kb
  56.  
  57.  
  58.