Date: Sat, 14 May 2011 13:24:10 +0200 From: Dominic Fandrey <kamikaze@bsdforen.de> To: Scott Allendorf <scott-allendorf@uiowa.edu> Cc: freebsd-stable@FreeBSD.org Subject: Re: RELENG_8 does not build with CPUTYPE=core2 Message-ID: <4DCE665A.50907@bsdforen.de> In-Reply-To: <4DCDCF1B.3060300@uiowa.edu> References: <4DCDAD36.5080007@bsdforen.de> <4DCDCF1B.3060300@uiowa.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DCE665A.50907>