From owner-freebsd-sparc64@FreeBSD.ORG Thu May 8 20:51:09 2008 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1D501065673 for ; Thu, 8 May 2008 20:51:09 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id 65D1D8FC1D for ; Thu, 8 May 2008 20:51:09 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.1/8.14.1/ALCHEMY.FRANKEN.DE) with ESMTP id m48Kp7AT037897; Thu, 8 May 2008 22:51:08 +0200 (CEST) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.1/8.14.1/Submit) id m48Kp7ZT037896; Thu, 8 May 2008 22:51:07 +0200 (CEST) (envelope-from marius) Date: Thu, 8 May 2008 22:51:07 +0200 From: Marius Strobl To: Doug Poland Message-ID: <20080508205107.GA37756@alchemy.franken.de> References: <37297.208.49.58.254.1210250986.squirrel@email.polands.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <37297.208.49.58.254.1210250986.squirrel@email.polands.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: make.conf questions for 6.x / 7.x X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 May 2008 20:51:09 -0000 On Thu, May 08, 2008 at 07:49:46AM -0500, Doug Poland wrote: > Hello, > > I've been a FreeBSD i386 user since the 2.1.1 days. One thing that > has hung around with me (on i386) since then is my /etc/make.conf > file. In it I have: > > CFLAGS= -O -pipe > COPTFLAGS= -O -pipe The automatically chosen default for CFLAGS would be '-O2 -pipe' (optionnaly additionally '-fno-strict-aliasing' depending on FreeBSD version) these days and there should be no reason to artifically limit optimizations to just '-O'. > NO_PROFILE= true This makes sense if you don't want to spend diskspace and CPU cycles compiling profiled versions of libraries if you have no use for them. Especially since FreeBSD/sparc64 doesn't support userland profiling before 7.0. With FreeBSD 7.0 and later this translates to WITHOUT_PROFILE= (yup, no value) in /etc/src.conf. > USA_RESIDENT= YES I think in former versions this enabled compilation of some crypto code which was export restricted. FreeBSD 6 and later no longer check it. > > Now that I have several Sun Netra X1 (UltraSPARC-IIe 440MHz) boxes > running 6.2-RELEASE (Generic), I was wondering if these options make > sense on this architecture. > > Thanks for your comments and suggestions. > Marius