From owner-freebsd-stable@FreeBSD.ORG Fri May 13 22:42:48 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BAB0106566B for ; Fri, 13 May 2011 22:42:48 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from qmta06.emeryville.ca.mail.comcast.net (qmta06.emeryville.ca.mail.comcast.net [76.96.30.56]) by mx1.freebsd.org (Postfix) with ESMTP id 84D608FC0C for ; Fri, 13 May 2011 22:42:48 +0000 (UTC) Received: from omta23.emeryville.ca.mail.comcast.net ([76.96.30.90]) by qmta06.emeryville.ca.mail.comcast.net with comcast id jATu1g0081wfjNsA6AinrS; Fri, 13 May 2011 22:42:47 +0000 Received: from koitsu.dyndns.org ([67.180.84.87]) by omta23.emeryville.ca.mail.comcast.net with comcast id jAig1g00p1t3BNj8jAijws; Fri, 13 May 2011 22:42:44 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 1AA1F102C36; Fri, 13 May 2011 15:42:40 -0700 (PDT) Date: Fri, 13 May 2011 15:42:40 -0700 From: Jeremy Chadwick To: Dominic Fandrey Message-ID: <20110513224240.GA40873@icarus.home.lan> References: <4DCDAD36.5080007@bsdforen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DCDAD36.5080007@bsdforen.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org Subject: Re: RELENG_8 does not build with CPUTYPE=core2 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 May 2011 22:42:48 -0000 On Sat, May 14, 2011 at 12:14:14AM +0200, Dominic Fandrey wrote: > env CCACHE_PREFIX=/usr/local/bin/distcc /usr/local/bin/ccache cc -O2 -pipe -march=core2 -DHAVE_CONFIG_H -I/usr/src/kerberos5/tools/make-roken/../../include -std=gnu99 -c make-roken.c > /usr/src/kerberos5/tools/make-print-version/../../../crypto/heimdal/lib/vers/make-print-version.c:1: error: bad value (core2) for -march= switch > /usr/src/kerberos5/tools/make-print-version/../../../crypto/heimdal/lib/vers/make-print-version.c:1: error: bad value (core2) for -mtune= switch > make-roken.c:1: error: bad value (core2) for -march= switch > make-roken.c:1: error: bad value (core2) for -mtune= switch > distcc[44991] ERROR: compile make-roken.c on localhost failed > *** Error code 1 > 1 error > *** Error code 2 > distcc[44988] ERROR: compile /usr/src/kerberos5/tools/make-print-version/../../../crypto/heimdal/lib/vers/make-print-version.c on localhost failed > *** Error code 1 > 1 error > *** Error code 2 > 2 errors > *** Error code 2 > 1 error > *** Error code 2 > 1 error > *** Error code 2 > > # make -VCPUTYPE > nocona > # make -VCFLAGS > -O2 -pipe -march=nocona > > CPUTYPE is set with CPUTYPE?=core2. 1) You're using ccache; are you sure this isn't causing some sort of problem? 2) I can't reproduce this on any of our RELENG_8 amd64 systems using CPUTYPE?=core2 with base gcc (4.2.2 date 20070831). However, we use WITHOUT_KERBEROS=true in /etc/src.conf so there may be some "weirdness" with the kerberos stuff; unknown to me. -- | Jeremy Chadwick jdc@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB |