From owner-freebsd-current@FreeBSD.ORG Thu Nov 1 09:20:38 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 C4ECB16A421 for ; Thu, 1 Nov 2007 09:20:38 +0000 (UTC) (envelope-from kris@FreeBSD.org) Received: from weak.local (pointyhat.freebsd.org [IPv6:2001:4f8:fff6::2b]) by mx1.freebsd.org (Postfix) with ESMTP id C3B5513C4B7; Thu, 1 Nov 2007 09:20:31 +0000 (UTC) (envelope-from kris@FreeBSD.org) Message-ID: <47299A5E.7090607@FreeBSD.org> Date: Thu, 01 Nov 2007 10:20:30 +0100 From: Kris Kennaway User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: josh.carroll@gmail.com References: <25f52a3d0710300732x425f0c45vde1a29361096c018@mail.gmail.com> <47284E4F.5030008@FreeBSD.org> <25f52a3d0710310303w7138bf5ds92698f1b6af2f655@mail.gmail.com> <4728F43A.1030500@FreeBSD.org> <8cb6106e0710311435q3e316599ye259f63679855f72@mail.gmail.com> In-Reply-To: <8cb6106e0710311435q3e316599ye259f63679855f72@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 09:20:38 -0000 Josh Carroll wrote: >> Presumably you mean -O2 -funroll-loops, not -O2. Or are you saying the >> latter also breaks the loader? > > Just -O2 broke it for me in RELENG_7, for the reason I said before > (-O2 later in the gcc command line supersedes the -Os from the loader > Makefile). OK. -funroll-loops is still bogus as a general setting, but I guess the real lesson is to stick with the defaults unless you want to fix the problem :) Kris