From owner-freebsd-stable@FreeBSD.ORG Sun May 15 02:41:19 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 6F7D5106564A for ; Sun, 15 May 2011 02:41:19 +0000 (UTC) (envelope-from oliver.pntr@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id F08EE8FC0C for ; Sun, 15 May 2011 02:41:18 +0000 (UTC) Received: by wwc33 with SMTP id 33so3901181wwc.31 for ; Sat, 14 May 2011 19:41:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=RWIndbQ3+HJwQyg5E/udjkE7cJSUd+hos0099L46jt4=; b=FhWcX1rLDlAdFFXp6pwTdJ881rKE0w+PMOagMg2HsR2aq82hGDDafNzcBRGpJ8OAGb YquWhURrjKM+l/tD5vvWlkTftsB93cu6YtCLTJ7ub6b0EpZoWnacQzqTc4vDUcgU6yPU wB+KqrOzwdV2umKzrqaSHJdZlzvmvG4MPvsMc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=CmDGWjZ7rQhEnuQcWRueFTrDuj9r0CSFwgsbZ2mwN1DpB02BaavoaCZ9q27pQ6vIEz ScjncCNr9wlJKrcqJMDWLjOOLbaT2lQBGN00P+A76tbx79zMlfPzK2HgC7rbsxKOhBfX ZRbYeYVQ6b4GQ8Yb3/NTvP0P1WK4vXTe8dQkA= MIME-Version: 1.0 Received: by 10.227.58.82 with SMTP id f18mr2992138wbh.45.1305425886207; Sat, 14 May 2011 19:18:06 -0700 (PDT) Received: by 10.227.209.209 with HTTP; Sat, 14 May 2011 19:18:06 -0700 (PDT) In-Reply-To: <4DCE665A.50907@bsdforen.de> References: <4DCDAD36.5080007@bsdforen.de> <4DCDCF1B.3060300@uiowa.edu> <4DCE665A.50907@bsdforen.de> Date: Sun, 15 May 2011 04:18:06 +0200 Message-ID: From: Oliver Pinter To: Dominic Fandrey Content-Type: text/plain; charset=ISO-8859-1 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: Sun, 15 May 2011 02:41:19 -0000 in two step you can elliminate the warning message: 1) compile and install world and kernel with commented CPUTYPE in make.conf 2) uncomment the CPUTYPE line, and recompile world and kernel the problem is, the build system based on newer (4.2.2) gcc, and when you set CPUTYPE=core2 than substitute -march=core2 in gcc parameter list, but older base system cc (4.2.1) do not knows this option or value. On 5/14/11, Dominic Fandrey wrote: > 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? > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >