From owner-freebsd-current@FreeBSD.ORG Fri Dec 12 06:50:20 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 59F9416A4CE for ; Fri, 12 Dec 2003 06:50:20 -0800 (PST) Received: from mail.comita.spb.ru (mail.comita.spb.ru [213.182.169.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 539FB43D31 for ; Fri, 12 Dec 2003 06:50:17 -0800 (PST) (envelope-from postfix@sendmail.ru) Received: by mail.comita.spb.ru (Postfix, from userid 1116) id 74E411A670; Fri, 12 Dec 2003 17:50:15 +0300 (MSK) Received: from laptoxa.toxa.lan (localhost [127.0.0.1]) by mail.comita.spb.ru (Postfix) with ESMTP id CE4E11A5F8 for ; Fri, 12 Dec 2003 17:50:13 +0300 (MSK) From: toxa Organization: toxahost To: freebsd-current@freebsd.org Date: Fri, 12 Dec 2003 17:49:12 +0300 User-Agent: KMail/1.5.4 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312121749.12408.postfix@sendmail.ru> Subject: CURRENT state of acpi and -O'ptimisations in buildworld 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: Fri, 12 Dec 2003 14:50:20 -0000 Hi to all. Tonight I cvsup'ed to fresh current source tree and found in newvers.sh that it's 5.2-CURRENT already, not 5.2-BETA :) My first question is about acpi. Does it still required to be included as a 'device acpi' in kernel, as mentioned at 20031103 in UPDATING file or are those days gone now and I can use acpi as module again? 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 But tonight it cause problems. Some pieces of code were not compile, finishing buildworld with fatal gcc warnings, and it cause me to put appropriate changes in make.conf: .if ${.CURDIR:N*/src/lib/libpam/libpam} == "" CFLAGS= -O -pipe -ffast-math -funroll-loops -mno-sse2 -march=pentium4 .endif .if ${.CURDIR:N*/src/lib/libc} == "" CFLAGS= -O -pipe -ffast-math -funroll-loops -mno-sse2 -march=pentium4 .endif .if ${.CURDIR:N*/src/usr.sbin/kldxref} == "" CFLAGS= -O -pipe -ffast-math -funroll-loops -mno-sse2 -march=pentium4 .endif .if ${.CURDIR:N*/src/usr.sbin/rpc.yppasswdd} == "" CFLAGS= -O -pipe -ffast-math -funroll-loops -mno-sse2 -march=pentium4 .endif As you can see, now only -O flag makes libpam, libc, kldxref and rpc.yppaswdd happy. So my question is it temporary bugs or is it features related with last code changes and it will require only -O in future, as tonight? Thanks a lot for your help.