From owner-freebsd-current@FreeBSD.ORG Thu Nov 1 12:03:51 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84B5416A420; Thu, 1 Nov 2007 12:03:51 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id F1A1913C48A; Thu, 1 Nov 2007 12:03:50 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id 1B5B3209B; Thu, 1 Nov 2007 12:54:00 +0100 (CET) X-Spam-Tests: AWL X-Spam-Learn: disabled X-Spam-Score: -0.1/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 0E0C32092; Thu, 1 Nov 2007 12:54:00 +0100 (CET) Received: by ds4.des.no (Postfix, from userid 1001) id E6DAF84485; Thu, 1 Nov 2007 12:53:59 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Jeremy Chadwick References: <25f52a3d0710300732x425f0c45vde1a29361096c018@mail.gmail.com> <20071031053610.GA10176@eos.sc1.parodius.com> <86ir4nxv8o.fsf@ds4.des.no> <20071031143010.GA21646@eos.sc1.parodius.com> Date: Thu, 01 Nov 2007 12:53:59 +0100 In-Reply-To: <20071031143010.GA21646@eos.sc1.parodius.com> (Jeremy Chadwick's message of "Wed\, 31 Oct 2007 07\:30\:10 -0700") Message-ID: <86r6jauqp4.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, "Stephan F. Yaraghchi" Subject: Re: loader breaks with -O2 optimizations X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 01 Nov 2007 12:03:51 -0000 Jeremy Chadwick writes: > On Wed, Oct 31, 2007 at 02:35:19PM +0100, Dag-Erling Sm=C3=B8rgrav wrote: > > Jeremy Chadwick writes: > > > Stephan F. Yaraghchi 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