home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / gcc / bug / 2779 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.3 KB  |  42 lines

  1. Newsgroups: gnu.gcc.bug
  2. Path: sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!agate!spool.mu.edu!caen!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!quark.sbi.com!rwk
  3. From: rwk@quark.sbi.com (Richard W. Kreutzer Consultant)
  4. Subject: PIC option broken?
  5. Message-ID: <9211162058.AA13746@quark.sbi.com>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Mon, 16 Nov 1992 20:58:45 GMT
  10. Approved: bug-gcc@prep.ai.mit.edu
  11. Lines: 29
  12.  
  13. Did the -fpic option get broken from gcc-2.2.2 to gcc-2.3.1?  Or have I
  14. installed gcc improperly?  I have compiled gcc-2.3.1 on a SPARCstation 1+
  15. running SunOS 4.1.1 in the usual fashion.  However the following now fails (it
  16. worked under 2.2.2):
  17.  
  18.     void printf(...);
  19.     void a() {
  20.       printf("Hi\n");
  21.       }
  22.  
  23.     $ gcc -fpic -c a.c
  24.     gcc: Internal compiler error: program cc1 got fatal signal 6
  25.  
  26. G++ fails in the same way:
  27.  
  28.     $ g++ -fpic -c a.c
  29.     Internal compiler error: program cc1plus got fatal signal 6
  30.  
  31. Is there a patch I can install?  I have removed all traces of 2.2.2 because I
  32. lack disk space and everything seemed to work in 2.3.1 (until this) so I
  33. deleted all traces of 2.2.2.  Thanks,
  34.  
  35. Dick
  36. ____
  37.         Richard W. (Dick) Kreutzer
  38. Net:    rwk@quark.sbi.com                CIS:    70702,2174
  39. Voice:  +1(801)571-2446                    FAX:    +1(801)571-2448
  40. Mail:   Integra Software Corp.; 1378 Jasmine Avenue; Sandy, UT 84092 (USA)
  41.  
  42.