From owner-freebsd-current@FreeBSD.ORG Fri Dec 12 13:13:15 2003 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 B68C916A4CE for ; Fri, 12 Dec 2003 13:13:15 -0800 (PST) Received: from cmsrelay01.mx.net (cmsrelay01.mx.net [165.212.11.110]) by mx1.FreeBSD.org (Postfix) with SMTP id F24B643D1D for ; Fri, 12 Dec 2003 13:13:13 -0800 (PST) (envelope-from noackjr@alumni.rice.edu) Received: from uadvg128.cms.usa.net (165.212.11.128) by cmsoutbound.mx.net with SMTP; 12 Dec 2003 21:13:12 -0000 Received: from optimator.noacks.org [65.69.2.219] by uadvg128.cms.usa.net (ASMTP/noackjr@usa.net) via mtad (C8.MAIN.3.11E) with ESMTP id 490HLLVNJ0179M28; Fri, 12 Dec 2003 21:13:09 GMT X-USANET-Auth: 65.69.2.219 AUTH noackjr@usa.net optimator.noacks.org Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 885EA112; Fri, 12 Dec 2003 15:13:08 -0600 (CST) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 45771-04; Fri, 12 Dec 2003 15:12:58 -0600 (CST) Received: from alumni.rice.edu (optimator [192.168.1.11]) by optimator.noacks.org (Postfix) with ESMTP id BD3469B; Fri, 12 Dec 2003 15:12:57 -0600 (CST) Message-ID: <3FDA2F59.3060009@alumni.rice.edu> Date: Fri, 12 Dec 2003 15:12:57 -0600 From: Jon Noack User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: toxa References: <200312121749.12408.postfix@sendmail.ru> <1071241208.970.49.camel@localhost> <200312121823.22352.postfix@sendmail.ru> In-Reply-To: <200312121823.22352.postfix@sendmail.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at noacks.org cc: Ryan Sommers cc: freebsd-current@freebsd.org Subject: Re: CURRENT state of acpi and -O'ptimisations in buildworld X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2003 21:13:15 -0000 On 12/12/2003 9:23 AM, toxa wrote: > On Friday 12 December 2003 18:00, Ryan Sommers wrote: > > >>>The second is about buildworld. Usually I use this opimisaton flags to >>>build world and userland (putting them to /etc/make.conf): >>> >>>CFLAGS= -O3 -pipe -ffast-math -funroll-loops -mno-sse2 -march=pentium4 >>>COPTFLAGS= -O2 -pipe -march=pentium4 -ffast-math -funroll-loops >>>CPUTYPE= p4 >> >>Building with any optimization higher then -O is not supported. > > > Does it mean that -O3 really translated into -O then making buildworld OR that > with any optimisation higher than -O you may have _success_ with buildworld > BUT binaries may be _broken_? I have used -O2 and -O3 with 5-CURRENT for many > months (cvsuping to -current since 5.1-release) without any problem until > tonight. > > Thanks for your reply. They are not translated to -O -- they simply may not work (as you have seen). The following are excerpts from /etc/defaults/make.conf. On CFLAGS: "Note that optimization settings above -O (-O2, ...) are not recommended or supported for compiling the world or the kernel - please revert any nonstandard optimization settings to "-O" before submitting bug reports to the developers." On COPTFLAGS: "There is very little to gain by using higher optimization levels, and doing so can cause problems." Jon Noack