From owner-freebsd-alpha Fri Jun 16 13:12:47 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (Postfix) with ESMTP id 927F537B6F9 for ; Fri, 16 Jun 2000 13:12:44 -0700 (PDT) (envelope-from tlambert@usr08.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.9.3/8.9.3) id NAA00185; Fri, 16 Jun 2000 13:12:07 -0700 (MST) Received: from usr08.primenet.com(206.165.6.208) via SMTP by smtp02.primenet.com, id smtpdAAA6Caqsa; Fri Jun 16 13:11:58 2000 Received: (from tlambert@localhost) by usr08.primenet.com (8.8.5/8.8.5) id NAA12471; Fri, 16 Jun 2000 13:12:29 -0700 (MST) From: Terry Lambert Message-Id: <200006162012.NAA12471@usr08.primenet.com> Subject: Re: error when installing mysql322-server To: rbud@fortean.com (Rich Bud) Date: Fri, 16 Jun 2000 20:12:29 +0000 (GMT) Cc: purple@hamster.dk (Sidsel Jensen), freebsd-alpha@FreeBSD.ORG In-Reply-To: from "Rich Bud" at Jun 16, 2000 08:29:23 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > 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