home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / bsd / 5505 < prev    next >
Encoding:
Internet Message Format  |  1992-09-10  |  1.8 KB

  1. Path: sparky!uunet!gatech!purdue!mentor.cc.purdue.edu!rahnds
  2. From: rahnds@mentor.cc.purdue.edu (Dale Rahn)
  3. Newsgroups: comp.unix.bsd
  4. Subject: Re: [386BSD] cc1 fatal error & more!
  5. Message-ID: <BuEAx4.JIq@mentor.cc.purdue.edu>
  6. Date: 11 Sep 92 03:55:51 GMT
  7. References: <0efk57e00WB60gg0pN@andrew.cmu.edu> <6703@vtserf.cc.vt.edu> <1992Sep11.012623.14965@fcom.cc.utah.edu>
  8. Organization: Purdue University
  9. Lines: 43
  10.  
  11. In article <1992Sep11.012623.14965@fcom.cc.utah.edu> terry@cs.weber.edu (A Wizard of Earth C) writes:
  12. >In article <6703@vtserf.cc.vt.edu> linkt@GroupW.cns.vt.edu (Tim Link) writes:
  13. >>In article <0efk57e00WB60gg0pN@andrew.cmu.edu> tj2n+@andrew.cmu.edu (Tao Jiang) writes:
  14. >>>
  15. >>>Hi, I tried to compile a program and got the cc1 fata error like:
  16. >>>cc -I.. -I../..  -O -c fogdeck.c
  17. >>>cc: Program cc1 got fatal signal 6.
  18. >>>*** Error code 1
  19. >>>
  20. >
  21. >    Make has a terrific leak.  I compiled up a different version (sorry,
  22. >proprietary).  You may want to try gnumake.
  23. >
  24. >I used to get around the problem by doing:
  25. >
  26. >    make -n > foo
  27. >    vi foo
  28. >    sh foo
  29.  
  30. I have been having this problem getting MetaFont to compile.
  31. While using Terry's solution I found that the program would not
  32. compile using the command line from the shell but did compile
  33. when i left off the -O option, it compiled correctly
  34.  
  35. gcc -g -O -I.. -c mf1.c
  36. gcc: Program cc1 got fatal signal 6.
  37. *** Error code 1
  38.  
  39. but
  40.  
  41. gcc -g -I.. -c mf1.c
  42. returns with no errors and creates mf1.o
  43. which will compile and link with no errors.
  44. is it possible that the -O option of gcc uses too much memory 
  45. (i have 8M real, 16M swap but have X386 running)
  46. or could there be a problem with gcc.
  47.  
  48. The problem was fixed with a patch to the code which reduced various
  49. arrays in the program. but this was not useful to me (it did not allow
  50. all of the characters for some fonts.
  51.  
  52. Dale Rahn
  53. rahnds@mentor.cc.purdue.edu
  54.