From owner-freebsd-alpha Fri Sep 28 11:22:11 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 6A8D737B406 for ; Fri, 28 Sep 2001 11:22:08 -0700 (PDT) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id OAA19155; Fri, 28 Sep 2001 14:22:03 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.3/8.9.1) id f8SILbp91084; Fri, 28 Sep 2001 14:21:37 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15284.49073.622905.144457@grasshopper.cs.duke.edu> Date: Fri, 28 Sep 2001 14:21:37 -0400 (EDT) To: "Matthew Rezny" Cc: "alpha@freebsd.org" Subject: Re: the -O2 flag In-Reply-To: <20010928180928.406C137B40C@hub.freebsd.org> References: <20010928180928.406C137B40C@hub.freebsd.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Matthew Rezny writes: > Now that I"ve created make.conf to set my architecture so that gcc > doesn't crash while compiling KDE with -O as is the default, I have > another question. Somehow it still ends up with -O2 in the Makefiles > that the configure script builds. g++ gives a big warning about known > optimizer bugs on this platform with that switch. Now does this mean > gcc might crash while compiling or that it may produce bad object code? > I've always tried to edit that flag out of makefiles, but this damn > thing has a makefile in every subdirectory so I'd have to edit several > dozen. > Possible bad code -- but with using the -mev56 flag, it may produce OK code. When I built kde, I seem to remember running find with a perl -pi to edit each make file (or configure file). Its been a while.. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message