From owner-freebsd-current@FreeBSD.ORG Wed Dec 10 10:07:43 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 A52B216A4CE for ; Wed, 10 Dec 2003 10:07:43 -0800 (PST) Received: from pandora.afflictions.org (asylum.afflictions.org [64.7.134.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0786E43D32 for ; Wed, 10 Dec 2003 10:07:41 -0800 (PST) (envelope-from dgerow@afflictions.org) Received: from dementia.afflictions.org (dementia [172.16.0.56]) by pandora.afflictions.org (Postfix) with ESMTP id 8C14F5CB84 for ; Wed, 10 Dec 2003 13:33:50 -0500 (EST) Received: by dementia.afflictions.org (Postfix, from userid 1001) id AFAE76D42C; Wed, 10 Dec 2003 13:07:51 -0500 (EST) Date: Wed, 10 Dec 2003 13:07:51 -0500 From: Damian Gerow To: current@freebsd.org Message-ID: <20031210180751.GF32359@afflictions.org> References: <20031210023632.GA13539@afflictions.org> <20031210024302.GB13539@afflictions.org> <20031210061329.GD13539@afflictions.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 5.2-BETA on a i386 X-GPG-Fingerprint: B3D7 D901 A53A 1A99 BFD6 E6DF 9F3B 742B C288 9CC9 User-Agent: Mutt/1.5.5.1i Subject: Re: buildworld doesn't like -O2 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: Wed, 10 Dec 2003 18:07:43 -0000 Thus spake Dag-Erling Sm?rgrav (des@des.no) [10/12/03 11:23]: : Damian Gerow writes: : > Okay, after some playing around, it turns out that something in the PAM code : > really doesn't like -O2 optimization -- I have CFLAGS=-O2 -pipe, and this is : > what I see: : : >From src/share/examples/etc/make.conf: : : # CFLAGS controls the compiler settings used when compiling C code. : # 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. Which is why I said further on: > Yes, I'm aware the -O2 isn't supported. World builds fine with just -O. > I'll just drop back to that. I had initially forgotten that I was running with -O2, I now have egg on my face, and I'm going to go wipe it off.