From owner-freebsd-current@FreeBSD.ORG Sun Nov 7 03:19:01 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 47D2716A4CE for ; Sun, 7 Nov 2004 03:19:01 +0000 (GMT) Received: from hotmail.com (bay2-dav14.bay2.hotmail.com [65.54.246.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34ADC43D2D for ; Sun, 7 Nov 2004 03:19:01 +0000 (GMT) (envelope-from tssajo@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sat, 6 Nov 2004 19:19:00 -0800 Received: from 24.24.201.219 by BAY2-DAV14.phx.gbl with DAV; Sun, 07 Nov 2004 03:18:54 +0000 X-Originating-IP: [24.24.201.219] X-Originating-Email: [tssajo@hotmail.com] X-Sender: tssajo@hotmail.com From: "Zoltan Frombach" To: Date: Sat, 6 Nov 2004 19:19:04 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Message-ID: X-OriginalArrivalTime: 07 Nov 2004 03:19:00.0966 (UTC) FILETIME=[86C91060:01C4C478] Subject: -O2 with 5.3 world and kernel - is it officially supported? 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: Sun, 07 Nov 2004 03:19:01 -0000 David O'Brien has posted this on October, 25th "We've been using '-O2 -fno-strict-aliasing' on all our 64-bit platforms for quite a while now. So I think it is field-tested enough to give it a try on the 'i386' kernel also...." Does it apply to the just released and announced FreeBSD 5.3-RELEASE as well? Or it is considered safe only for 6.0-CURRENT ? Does anyone know the answer? In case it is indeed safe to compile the 5.3 world and kernel with -O2, then someone might want to change the text in /etc/make.conf ("Note also that at this time the -O2 setting is known to produce BROKEN CODE due to bugs in FreeBSD code.") Please note that I do undearstand that it is not safe to use -O2 optimization for compiling ports. I am only talking about the FreeBSD 5.3 world and kernel. (Or at leaset the kernel - in case it is not yet a 100% safe for world...) Zoltan