Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2000 15:03:09 -0500 (EST)
From:      Howard Leadmon <howardl@account.abs.net>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        freebsd-alpha@FreeBSD.org, freebsd-stable@FreeBSD.org
Subject:   Re: Compiler problems with -O2 (was Re: CVS Trouble, even under 4.0-RELEASE (alpha) HELP!)
Message-ID:  <200003222003.PAA51043@account.abs.net>
In-Reply-To: <14552.58589.119082.742615@grasshopper.cs.duke.edu> from Andrew Gallatin at "Mar 22, 2000 10:30:32 am"

next in thread | previous in thread | raw e-mail | index | archive | help

 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




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