home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / sgi / apps / 58 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  2.0 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!ogicse!news.u.washington.edu!serval!NOSY.chem.wsu.edu!yyang
  2. From: yyang@NOSY.chem.wsu.edu (Yongqi Yang)
  3. Newsgroups: comp.sys.sgi.apps
  4. Subject: Re: Need help compiling gcc-2.3.3
  5. Message-ID: <1993Jan12.050755.26502@serval.net.wsu.edu>
  6. Date: 12 Jan 93 05:07:55 GMT
  7. Article-I.D.: serval.1993Jan12.050755.26502
  8. References: <1iku9vINNlls@gazette.bcm.tmc.edu> <SIMON.93Jan10140537@liasg2.epfl.ch>
  9. Sender: news@serval.net.wsu.edu (USENET News System)
  10. Distribution: na
  11. Organization: Washington State University
  12. Lines: 33
  13.  
  14. In article <SIMON.93Jan10140537@liasg2.epfl.ch> simon@lia.di.epfl.ch (Simon Leinen) writes:
  15. >In article <1iku9vINNlls@gazette.bcm.tmc.edu>
  16. >mahmud@cephalo.neusc.bcm.tmc.edu (Mahmud Haque) writes:
  17. >
  18. >   I am trying to compile gcc-2.3.3 on a Indigo 4000, compilation
  19. >   works fine but stage2/stage3 cc1plus dumps core. Please help...
  20. >
  21. >   Here is the test file:
  22. >
  23. >Your cc1plus (when compiled using GCC 2.3.3) dumps core for every
  24. >input whatsoever.  A bug report has already been filed.  One possible
  25. >workaround is to recompile cp-lex.c *without* the -O switch, and
  26. >relink cc1plus.  Some part of cp-lex.c that calls a couple of inline
  27. >functions in a row seems to be misoptimized by GCC 2.3.3.
  28. >-- 
  29. >Simon.
  30.  
  31. I posted an article to gnu.gcc.help group about a week ago to ask about
  32. this and didn't get any reply. The interesting thing is, I built 2.3.2
  33. early Decemember and it works just fine, both C and C++. I updated to
  34. 2.3.3. later and cc1plus dumped core, I posted the question to the net,
  35. no response. So I went back to 2.3.2, you know what 2.3.2's cc1plus could
  36. not compile either. I removed the whole old gcc-lib dir and bin dir and
  37. got the same core dump. I don't know where I skewed up. 
  38.  
  39. I built the same thing for a Sun Sparc station, both 2.3.2. and 2.3.3
  40. work fine, but not SGI machine. 
  41.  
  42. I wonder if it is really a bug, when they gonna fix it. 
  43. -- 
  44.  Yongqi Yang                yyang@nosy.chem.wsu.edu
  45.  
  46. **************************************************************
  47.