From owner-freebsd-current@FreeBSD.ORG Sun Jan 18 14:19:07 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD14216A4CE for ; Sun, 18 Jan 2004 14:19:07 -0800 (PST) Received: from dragon.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id A648343D2F for ; Sun, 18 Jan 2004 14:19:04 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.10/8.12.9) with ESMTP id i0IMIpip076265; Sun, 18 Jan 2004 14:18:51 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.10/8.12.10/Submit) id i0IMIorT076264; Sun, 18 Jan 2004 14:18:50 -0800 (PST) (envelope-from obrien) Date: Sun, 18 Jan 2004 14:18:50 -0800 From: "David O'Brien" To: Christer Solskogen Message-ID: <20040118221850.GF65333@dragon.nuxi.com> Mail-Followup-To: David O'Brien , Christer Solskogen , current@freebsd.org References: <2198.148.121.98.106.1074170436.squirrel@mail.carebears.mine.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2198.148.121.98.106.1074170436.squirrel@mail.carebears.mine.nu> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.2-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: current@freebsd.org Subject: Re: compiling world with optimization X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2004 22:19:07 -0000 On Thu, Jan 15, 2004 at 01:40:36PM +0100, Christer Solskogen wrote: > I dont know if you care, but buildworld will fail with some optimizations. We do, but... > CFLAGS= -O2 -pipe You shouldn't be using -O2 unless you're prepared to provide a patch, or sufficient analysis that someone else can easily fix the problem. Otherwise stick with -O[1] to have a non-eventful FreeBSD make world.