From owner-freebsd-current@FreeBSD.ORG Wed Oct 31 05:53:32 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 6C97516A469 for ; Wed, 31 Oct 2007 05:53:32 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 5EFB213C4B6 for ; Wed, 31 Oct 2007 05:53:32 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 7B4C11CC079; Tue, 30 Oct 2007 22:36:10 -0700 (PDT) Date: Tue, 30 Oct 2007 22:36:10 -0700 From: Jeremy Chadwick To: "Stephan F. Yaraghchi" Message-ID: <20071031053610.GA10176@eos.sc1.parodius.com> References: <25f52a3d0710300732x425f0c45vde1a29361096c018@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <25f52a3d0710300732x425f0c45vde1a29361096c018@mail.gmail.com> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-current@freebsd.org 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: Wed, 31 Oct 2007 05:53:32 -0000 On Tue, Oct 30, 2007 at 03:32:19PM +0100, Stephan F. Yaraghchi wrote: > I found out that the following line in my make.conf causes > the problem: > > CFLAGS= -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. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |