From owner-freebsd-questions Thu Jul 3 06:50:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA10604 for questions-outgoing; Thu, 3 Jul 1997 06:50:07 -0700 (PDT) Received: from beowulf.utmb.edu (beowulf.utmb.edu [129.109.59.83]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA10590 for ; Thu, 3 Jul 1997 06:50:03 -0700 (PDT) Received: (from bdodson@localhost) by beowulf.utmb.edu (8.8.5/8.8.5) id IAA10158; Thu, 3 Jul 1997 08:47:25 -0500 (CDT) Date: Thu, 3 Jul 1997 08:47:25 -0500 (CDT) From: "M. L. Dodson" Message-Id: <199707031347.IAA10158@beowulf.utmb.edu> To: freebsd-questions@FreeBSD.ORG, dburr@POBoxes.com Subject: Re: weird gcc error? X-Sun-Charset: US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Don't know if this is the cause of your problem, but I had the identical problem on a Sun at work. Turned out to be a bad RAM simm. Bud Dodson > > I've been having some weird problems with GCC lately. This is on a > stock FreeBSD 2.2.2 system. The GCC version is 2.7.2.1. I usually > compile with "-O2 -m486" The machine is a clone 486DX2/66 I slapped > together out of spare parts. > > Anyway, here is the problem: When compiling large programs, the > compile sometimes stops with an error. usually the error is something > like "parse error before '}'" but I remember one time when it was > something else (can't remember what the error was at that time, > though). The weird thing is, there IS no error (when I read the file, > it looks like perfectly good C syntax to me), and, if I run 'make' and > recompile that file WITHOUT CHANGING IT, it works fine! > > Other than this, the machine is working perfectly. I often have it up > and doing stuff for hours, sometimes days at a time, and there haven't > been any other errors to speak of. > > So is this a gcc bug? Is anyone else having this type of trouble? Is > there a patch for it? > > Please let me know, pref. by email. Thanks! > -- > Donald Burr - Ask me for my PGP key | PGP: Your > WWW HomePage: http://DonaldBurr.base.org/ ICQ #1347455 | right to > Address: P.O. Box 91212, Santa Barbara, CA 93190-1212 | 'Net privacy. > Phone: (805) 564-1871 FAX: (800) 492-5954 | USE IT. > -- M. L. Dodson bdodson@scms.utmb.edu 409-772-2178 FAX: 409-772-1790