Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 1997 08:47:25 -0500 (CDT)
From:      "M. L. Dodson" <bdodson@beowulf.utmb.edu>
To:        freebsd-questions@FreeBSD.ORG, dburr@POBoxes.com
Subject:   Re: weird gcc error?
Message-ID:  <199707031347.IAA10158@beowulf.utmb.edu>

Next in thread | Raw E-Mail | Index | Archive | Help

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 <dburr@POBoxes.com> - 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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?199707031347.IAA10158>