Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Nov 2007 12:53:59 +0100
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Jeremy Chadwick <koitsu@FreeBSD.org>
Cc:        freebsd-current@freebsd.org, "Stephan F. Yaraghchi" <stephan@yaraghchi.org>
Subject:   Re: loader breaks with -O2 optimizations
Message-ID:  <86r6jauqp4.fsf@ds4.des.no>
In-Reply-To: <20071031143010.GA21646@eos.sc1.parodius.com> (Jeremy Chadwick's message of "Wed\, 31 Oct 2007 07\:30\:10 -0700")
References:  <25f52a3d0710300732x425f0c45vde1a29361096c018@mail.gmail.com> <20071031053610.GA10176@eos.sc1.parodius.com> <86ir4nxv8o.fsf@ds4.des.no> <20071031143010.GA21646@eos.sc1.parodius.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jeremy Chadwick <koitsu@FreeBSD.org> writes:
> On Wed, Oct 31, 2007 at 02:35:19PM +0100, Dag-Erling Sm=C3=B8rgrav wrote:
> > Jeremy Chadwick <koitsu@FreeBSD.org> writes:
> > > Stephan F. Yaraghchi <stephan@yaraghchi.org> writes:
> > > > CFLAGS=3D -O2 -funroll-loops -pipe
> > > You shouldn't have this in your make.conf.  Remove it.  This is very
> > > likely breaking a lot more than just loader.
> > Uh, no.  Please stop spreading FUD.
> Every time it's been discussed, the conclusion reached has been "stop
> setting CFLAGS, you're overwriting any previous definition used, which
> may be causing problems for you.  Use +=3D or COPTFLAGS."  Even the
> Handbook explains the dangers of using CFLAGS=3D when one should be
> CFLAGS+=3D.

So why didn't you say that in the first place, instead of "remove it"?

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86r6jauqp4.fsf>