From owner-freebsd-stable@FreeBSD.ORG Sat May 14 11:24:13 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 C82D3106566C for ; Sat, 14 May 2011 11:24:13 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.server1.bsdforen.de (bsdforen.de [82.193.243.81]) by mx1.freebsd.org (Postfix) with ESMTP id 898528FC13 for ; Sat, 14 May 2011 11:24:12 +0000 (UTC) Received: from mobileKamikaze.norad (vpn-cl-161-31.rz.uni-karlsruhe.de [141.3.161.31]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.server1.bsdforen.de (Postfix) with ESMTPSA id E31287E961; Sat, 14 May 2011 13:24:11 +0200 (CEST) Message-ID: <4DCE665A.50907@bsdforen.de> Date: Sat, 14 May 2011 13:24:10 +0200 From: Dominic Fandrey User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-GB; rv:1.9.1.16) Gecko/20101212 Thunderbird/3.0.11 MIME-Version: 1.0 To: Scott Allendorf References: <4DCDAD36.5080007@bsdforen.de> <4DCDCF1B.3060300@uiowa.edu> In-Reply-To: <4DCDCF1B.3060300@uiowa.edu> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ascii Content-Transfer-Encoding: 7bit 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: Sat, 14 May 2011 11:24:13 -0000 On 14/05/2011 02:38, Scott Allendorf wrote: > 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 >> ... > > I saw this too when updating systems across the compiler update. As > near as I can tell, some part of the build is not using the new > "core2"-aware compiler built as part of the toolchain and is using the > older, installed version instead. > > Commenting out the CPUTYPE definition allowed my buildworlds to complete > successfully. ... Thanks for the workaround! It still worries me, that there's a bug in the bootstrapping. You never know what kind of trouble comes from that kind of thing. I hope this is going to be fixed. Regards -- A: Because it fouls the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?