From owner-freebsd-current@FreeBSD.ORG Sun Mar 21 12:43:55 2010 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 DAD301065672 for ; Sun, 21 Mar 2010 12:43:55 +0000 (UTC) (envelope-from a_best01@uni-muenster.de) Received: from zivm-relay1.uni-muenster.de (ZIVM-RELAY1.UNI-MUENSTER.DE [128.176.192.12]) by mx1.freebsd.org (Postfix) with ESMTP id 6CB978FC1F for ; Sun, 21 Mar 2010 12:43:55 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.51,282,1267398000"; d="scan'208";a="299722681" Received: from zivmaildisp1.uni-muenster.de (HELO ZIVMAILUSER05.UNI-MUENSTER.DE) ([128.176.188.85]) by zivm-relay1.uni-muenster.de with ESMTP; 21 Mar 2010 13:43:53 +0100 Received: by ZIVMAILUSER05.UNI-MUENSTER.DE (Postfix, from userid 149459) id 722641B07E7; Sun, 21 Mar 2010 13:43:53 +0100 (CET) Date: Sun, 21 Mar 2010 13:43:52 +0100 (CET) From: Alexander Best Sender: Organization: Westfaelische Wilhelms-Universitaet Muenster To: Pegasus Mc Cleaft , Message-ID: In-Reply-To: <201003211232.35497.ken@mthelicon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Garrett Cooper Subject: Re: build failures after stdlib update 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: Sun, 21 Mar 2010 12:43:55 -0000 Pegasus Mc Cleaft schrieb am 2010-03-21: > > > it would be nice if people with arch i386 and amd64 could try to > > > reproduce this (i believe the other archs don't support > > > CPUTYPE=native). > > > again the easiest way to trigger this (you don't need to edit > > > your > > > /etc/make.conf for this) should be running: > > > gcc -v -x c -E -mtune=native /dev/null -o /dev/null 2>&1 > I didnt think you could add CPUTYPE=native to the > /etc/make.conf > What I used to do when I was compiling native was to do > something like > the following in the /etc/make.conf no you can. /usr/share/mk/bsd.cpu.mk doesn't perform any 'native' checks so when you set 'CPUTYPE=native' -mtune gets set to native. so you can just do: CPUTYPE=native CFLAGS=-O2 -fno-strict-aliasing -pipe -s btw: what's the -s switch doing? alex > CPUTYPE?=core2 > NO_CPU_CFLAGS= > CFLAGS= -mtune=native -O2 -fno-strict-aliasing -pipe -s > Peg -- Alexander Best