RELENG_8 does not build with CPUTYPE=core2

Jeremy Chadwick freebsd at jdc.parodius.com
Fri May 13 22:42:48 UTC 2011


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 at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.               PGP 4BD6C0CB |



More information about the freebsd-stable mailing list