From owner-freebsd-alpha Thu Mar 23 6:27: 4 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from point.osg.gov.bc.ca (point.osg.gov.bc.ca [142.32.102.44]) by hub.freebsd.org (Postfix) with ESMTP id 850C437C45B; Thu, 23 Mar 2000 06:26:58 -0800 (PST) (envelope-from Cy.Schubert@uumail.gov.bc.ca) Received: (from daemon@localhost) by point.osg.gov.bc.ca (8.8.7/8.8.8) id GAA23245; Thu, 23 Mar 2000 06:26:23 -0800 Received: from passer.osg.gov.bc.ca(142.32.110.29) via SMTP by point.osg.gov.bc.ca, id smtpda23243; Thu Mar 23 06:26:15 2000 Received: (from uucp@localhost) by passer.osg.gov.bc.ca (8.9.3/8.9.1) id GAA04097; Thu, 23 Mar 2000 06:26:15 -0800 (PST) Received: from cwsys9.cwsent.com(10.2.2.1), claiming to be "cwsys.cwsent.com" via SMTP by passer9.cwsent.com, id smtpdNP4095; Thu Mar 23 06:25:51 2000 Received: (from uucp@localhost) by cwsys.cwsent.com (8.9.3/8.9.1) id GAA01222; Thu, 23 Mar 2000 06:25:51 -0800 (PST) Message-Id: <200003231425.GAA01222@cwsys.cwsent.com> Received: from localhost.cwsent.com(127.0.0.1), claiming to be "cwsys" via SMTP by localhost.cwsent.com, id smtpdCH1214; Thu Mar 23 06:24:55 2000 X-Mailer: exmh version 2.1.1 10/15/1999 Reply-To: Cy Schubert - ITSD Open Systems Group From: Cy Schubert - ITSD Open Systems Group X-OS: FreeBSD 3.4-RELEASE X-Sender: cy To: Andrew Gallatin Cc: obrien@FreeBSD.ORG, Howard Leadmon , 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!) In-reply-to: Your message of "Wed, 22 Mar 2000 17:42:03 EST." <14553.19348.115781.273817@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 23 Mar 2000 06:24:54 -0800 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <14553.19348.115781.273817@grasshopper.cs.duke.edu>, Andrew Gallatin writes: > > David O'Brien writes: > > On Wed, Mar 22, 2000 at 03:03:09PM -0500, Howard Leadmon wrote: > > > want to avoid, or at least note the problem with -O2 as I have been usin > g > > > 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.. > > > > It isn't officially OK from the perspective of the FreeBSD Project. "-O2" > > has been the cause of problems on the i386 arch too. Thus my constant > > yelling about it that nobody pays attention to. > > > > I'm on the virge of turning off "-O2" on both Alpha and i386. > > You certainly have my vote. > > I take it the O2 bugs are not unique to us, but rather they are > generic across all OSes that gcc version 2.95.2 runs on? Do the gcc > people know these problems exist? How about a compromise? Just print a nasty message every time -O2 is specified: BEWARE: -O2 may cause some applications to break or may cause your system to fail to boot. Be sure you absolutely know what you are doing before using -O2 optimisation. Then enclose it in stars (*) or bangs (!). Regards, Phone: (250)387-8437 Cy Schubert Fax: (250)387-5766 Team Leader, Sun/DEC Team Internet: Cy.Schubert@osg.gov.bc.ca Open Systems Group, ITSD, ISTA Province of BC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message