From owner-freebsd-current@FreeBSD.ORG Tue Nov 2 23:55:38 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 6CA4E16A4CE for ; Tue, 2 Nov 2004 23:55:38 +0000 (GMT) Received: from imf20aec.mail.bellsouth.net (imf20aec.mail.bellsouth.net [205.152.59.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7381643D2D for ; Tue, 2 Nov 2004 23:55:33 +0000 (GMT) (envelope-from ahze@ahze.net) Received: from [67.33.247.226] by imf20aec.mail.bellsouth.netESMTP <20041102235515.IXPB2350.imf20aec.mail.bellsouth.net@[67.33.247.226]>; Tue, 2 Nov 2004 18:55:15 -0500 In-Reply-To: <20041102234821.GA76782@xor.obsecurity.org> References: <20041102222000.GA65845@xor.obsecurity.org> <200411021736.21034.kirk@strauser.com> <20041102234821.GA76782@xor.obsecurity.org> Mime-Version: 1.0 (Apple Message framework v618) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <9DDB4C0A-2D2A-11D9-8349-000A95BB7150@ahze.net> Content-Transfer-Encoding: 7bit From: michael johnson Date: Tue, 2 Nov 2004 18:55:04 -0500 To: Kris Kennaway X-Mailer: Apple Mail (2.618) cc: Kirk Strauser cc: freebsd-current@freebsd.org Subject: Re: HEADS UP: Ports are not ready for CFLAGS=-O2 in 6.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Nov 2004 23:55:38 -0000 On Nov 2, 2004, at 6:48 PM, Kris Kennaway wrote: > On Tue, Nov 02, 2004 at 05:36:17PM -0600, Kirk Strauser wrote: >> On Tuesday 02 November 2004 16:20, Kris Kennaway wrote: >> >>> (there are at least 350 ports that emit warnings about aliasing, and >>> would >>> probably have runtime errors when compiled with -O2; moreover, a >>> number of >>> ports fail to even build with -O2). >> >> Out of curiosity, are those ports like to have equivalents in Gentoo's >> "portage" system? Those guys love to build with -O310 >> -fomit-instructions >> but their stuff seems to pretty much work. Why do we seem to have so >> many >> problems with (presumably?) the same software on our system? > > Don't know, perhaps they don't care about the fraction of ports that > don't work properly since the rest of them have such eleet > optimization. Some ports from portage ie http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/media-libs/gst- plugins/gst-plugins-0.8.5-r1.ebuild gst-plugins use replace-flags which is for example ... ${CFLAGS:S/-O2/-O} or filter-flags which removes flags that cause a known build failure. Michael > Kris