From owner-freebsd-alpha Wed Mar 22 12: 3:20 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from account.abs.net (account.abs.net [207.114.5.70]) by hub.freebsd.org (Postfix) with ESMTP id C00BD37BAAD; Wed, 22 Mar 2000 12:03:14 -0800 (PST) (envelope-from howardl@account.abs.net) Received: (from howardl@localhost) by account.abs.net (8.9.3/8.9.3+RBL+DUL+RSS+ORBS) id PAA51043; Wed, 22 Mar 2000 15:03:09 -0500 (EST) (envelope-from howardl) From: Howard Leadmon Message-Id: <200003222003.PAA51043@account.abs.net> Subject: Re: Compiler problems with -O2 (was Re: CVS Trouble, even under 4.0-RELEASE (alpha) HELP!) In-Reply-To: <14552.58589.119082.742615@grasshopper.cs.duke.edu> from Andrew Gallatin at "Mar 22, 2000 10:30:32 am" To: Andrew Gallatin Date: Wed, 22 Mar 2000 15:03:09 -0500 (EST) Cc: freebsd-alpha@FreeBSD.org, freebsd-stable@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL72 (25)] 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 Actually I have several Alpha's, and one I have to reload due to this, so I will give this a try on the other machine and will let you know if I have good success with it. If this all works, then I agree with you that we want to avoid, or at least note the problem with -O2 as I have been using that when making software on my Intel machines for a long time, so just assumed it was OK to do the same on the Alpha.. > Get rid of -O2 in /etc/make.conf; comment out the CFLAGS line. You > should NEVER, EVER build _anything_ with -O2 on an alpha. The > compiler is very fragile and has been known to do odd things when > compiling -O2. I'm starting to think that any optimizations other > than -O should probably be disabled in the compiler to keep people > from blowing their feet off like you've just done. > > I'd suggest re-loading the machine from the cd at this point, or > building a world on another machine which has a good world & doing a > make installworld via NFS mounts. > > Drew > > ------------------------------------------------------------------------------ > Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin > Duke University Email: gallatin@cs.duke.edu > Department of Computer Science Phone: (919) 660-6590 > --- Howard Leadmon - howardl@abs.net - http://www.abs.net ABSnet Internet Services - Phone: 410-361-8160 - FAX: 410-361-8162 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message