Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jun 2000 20:12:29 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        rbud@fortean.com (Rich Bud)
Cc:        purple@hamster.dk (Sidsel Jensen), freebsd-alpha@FreeBSD.ORG
Subject:   Re: error when installing mysql322-server
Message-ID:  <200006162012.NAA12471@usr08.primenet.com>
In-Reply-To: <Pine.BSF.3.96.1000616075858.4445A-100000@nemesis.fortean.com> from "Rich Bud" at Jun 16, 2000 08:29:23 AM

next in thread | previous in thread | raw e-mail | index | archive | help
> > But when i try to install mysql322-server from the ports tree,
> > it gives me a really ugly internal gcc compiler error.
> > It happens in the module sql_acl.cc.
> > 
> > sql_acl.cc:1367: Internal compiler error.
> 
> I ran into the same thing on an alpha 500, and it appears to be an
> optimization error. When it crashes, edit work/mysql-3.22.32/sql/Makefile
> and remove '-O' from the CXXFLAGS line (or -O2, or whatever variant you're
> using), then rerun make. Once you see it move on to the next file, CTRL-C 
> and put the -O back (assuming you want to make sure the rest of the compile 
> is optimized). 

I had to make a similar change for AIX with both GCC and xLC.  It
seems to me to be a coding error related to what ANSI permits a
compiler to assume.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006162012.NAA12471>