From owner-freebsd-current@FreeBSD.ORG Sun Mar 21 13:08:07 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 B5D89106566C for ; Sun, 21 Mar 2010 13:08:07 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout5.freenet.de (mout5.freenet.de [IPv6:2001:748:100:40::2:7]) by mx1.freebsd.org (Postfix) with ESMTP id 4B3C28FC1C for ; Sun, 21 Mar 2010 13:08:07 +0000 (UTC) Received: from [195.4.92.22] (helo=12.mx.freenet.de) by mout5.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.72 #2) id 1NtKsv-0002x0-O7; Sun, 21 Mar 2010 14:08:05 +0100 Received: from p57ae1520.dip0.t-ipconnect.de ([87.174.21.32]:37960 helo=ernst.jennejohn.org) by 12.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.72 #2) id 1NtKsv-0003HK-HY; Sun, 21 Mar 2010 14:08:05 +0100 Date: Sun, 21 Mar 2010 14:08:04 +0100 From: Gary Jennejohn To: Alexander Best Message-ID: <20100321140804.48cd1876@ernst.jennejohn.org> In-Reply-To: <20100321140304.37618e59@ernst.jennejohn.org> References: <201003211232.35497.ken@mthelicon.com> <20100321140304.37618e59@ernst.jennejohn.org> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Garrett Cooper , Pegasus Mc Cleaft , freebsd-current@freebsd.org Subject: Re: build failures after stdlib update X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de 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 13:08:07 -0000 On Sun, 21 Mar 2010 14:03:04 +0100 Gary Jennejohn wrote: > On Sun, 21 Mar 2010 13:43:52 +0100 (CET) > Alexander Best wrote: > > > 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? > > > > It "silences" make. See the man page. It's useful because basically only > errors are emitted. > Oops. That's wrong. I got confused. I'd like to know that myself, now that I'm no longer confused :) -- Gary Jennejohn