Date: Wed, 10 Dec 2003 13:07:51 -0500 From: Damian Gerow <dgerow@afflictions.org> To: current@freebsd.org Subject: Re: buildworld doesn't like -O2 Message-ID: <20031210180751.GF32359@afflictions.org> In-Reply-To: <mailman.1071073440.57727.fcurrent-l@lists.sentex.ca> References: <20031210023632.GA13539@afflictions.org> <mailman.1071024061.20138.fcurrent-l@lists.sentex.ca> <20031210024302.GB13539@afflictions.org> <mailman.1071028801.33452.fcurrent-l@lists.sentex.ca> <20031210061329.GD13539@afflictions.org> <mailman.1071073440.57727.fcurrent-l@lists.sentex.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
Thus spake Dag-Erling Sm?rgrav (des@des.no) [10/12/03 11:23]: : Damian Gerow <dgerow@afflictions.org> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031210180751.GF32359>