Date: Fri, 13 May 2011 15:42:40 -0700 From: Jeremy Chadwick <freebsd@jdc.parodius.com> To: Dominic Fandrey <kamikaze@bsdforen.de> Cc: freebsd-stable@freebsd.org Subject: Re: RELENG_8 does not build with CPUTYPE=core2 Message-ID: <20110513224240.GA40873@icarus.home.lan> In-Reply-To: <4DCDAD36.5080007@bsdforen.de> References: <4DCDAD36.5080007@bsdforen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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 |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110513224240.GA40873>