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

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

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


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?14552.58589.119082.742615>