buildworld doesn't like -O2

Masahiro Yamagishi night at pluto.dti.ne.jp
Tue Dec 9 22:59:03 PST 2003


On Wed, 10 Dec 2003 01:13:29 -0500
Damian Gerow wrote:

> Thus spake Steve Kargl (sgk at troutmask.apl.washington.edu) [09/12/03 22:59]:
> : -j# obfuscates where the actual error occurs unless you have
> : enough make-fu to read the log.  The first step one should
> : take when this type of error happens is a plain "make buildworld".
> : The next step is run cvsup again to see if the problem has
> : been fixed.  Then, report the error to freebsd-current.
> 
> 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
> 
> Yes, I'm aware the -O2 isn't supported.  World builds fine with just -O.
> I'll just drop back to that.

If -O2 -pipe -fno-strict-aliasing, how is it?

--
Masahiro Yamagishi



More information about the freebsd-current mailing list