From owner-freebsd-toolchain@FreeBSD.ORG Wed Nov 9 07:15:06 2011 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F2AE106564A; Wed, 9 Nov 2011 07:15:06 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id D2A918FC0C; Wed, 9 Nov 2011 07:15:05 +0000 (UTC) Received: by iabz21 with SMTP id z21so2168563iab.13 for ; Tue, 08 Nov 2011 23:15:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; bh=8fRyUpIqXAdEYkB3HJbEQn/rDThxRFif2fg+YnOfE0g=; b=cQOtFcz3yHG92tobqRPhSz6pU+vKs2uXo6HaaAkv94S5eHAEILZ/V1Kbj4RttPt9R9 2IwdgHxd1JYyCxZCR+GxbncL4wy+/eSdGqUD3gBTuUlJ9Q2r86aEe0MasdsSKbYZo5AI zVVCsBUmxGS+etBP/3I+4B7sRebHnZTLAf6Us= Received: by 10.50.202.100 with SMTP id kh4mr1137656igc.41.1320821528637; Tue, 08 Nov 2011 22:52:08 -0800 (PST) Received: from DataIX.net (adsl-99-181-144-127.dsl.klmzmi.sbcglobal.net. [99.181.144.127]) by mx.google.com with ESMTPS id fu10sm3088564igc.6.2011.11.08.22.52.06 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 08 Nov 2011 22:52:06 -0800 (PST) Sender: Jason Hellenthal Received: from DataIX.net (localhost.DataIX.local [127.0.0.1]) by DataIX.net (8.14.5/8.14.5) with ESMTP id pA96q4hS057661 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 9 Nov 2011 01:52:04 -0500 (EST) (envelope-from jhell@DataIX.net) Received: (from jhell@localhost) by DataIX.net (8.14.5/8.14.5/Submit) id pA96q36w057660; Wed, 9 Nov 2011 01:52:04 -0500 (EST) (envelope-from jhell@DataIX.net) Date: Wed, 9 Nov 2011 01:52:03 -0500 From: Jason Hellenthal To: Alexander Best Message-ID: <20111109064719.GA39458@DataIX.net> References: <20111108002556.GA91218@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111108002556.GA91218@freebsd.org> Cc: freebsd-toolchain@freebsd.org Subject: Re: CPUTYPE=native handling X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2011 07:15:06 -0000 On Tue, Nov 08, 2011 at 12:25:56AM +0000, Alexander Best wrote: > hi there, > > i've seen dozens of issues, where people set CPUTYPE=native. although this > works in a lot of cases, it doesn't in others. why don't we simply add > something like I thought it was reccomened to use 'CPUTYPE?=' syntax therefore ultimately allowing the build to omit the CPUTYPE for its own setting... since not all optimizations done for -march or -mcpu are good for the whole source tree.