The system compiler probably pre-dates cpu specific support. Try
installing a newer one from ports.
On Sat, May 14, 2011 at 12:14 AM, Dominic Fandrey <kamik...@bsdforen.de> 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.
>
> --
> 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-unsubscr...@freebsd.org"
>
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to