Builworld is broken for RELENG_8 when CPUTYPE?=core2

Jeremy Chadwick freebsd at jdc.parodius.com
Wed Jul 6 05:45:09 UTC 2011


On Wed, Jul 06, 2011 at 12:36:25PM +0700, Eugene Grosbein wrote:
> Yesterday I've updated sources of my RELENG_8 box using csup
> and ran "make -j5 buildworld" while having CPUTYPE?=core2 in /etc/make.conf
> 
> It failed:
> 
> ===> kerberos5/tools/asn1_compile (depend)
> cd /home/src/kerberos5/tools/asn1_compile/../make-print-version && make
> cd /home/src/kerberos5/tools/asn1_compile/../make-roken && make
> lex -t  /home/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/lex.l > lex.c
> sed -e '96s/"/"#ifdef __PARSE_UNITS_H__\\n/;' -e '96s/",/\\n#endif\\n",/' /home/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/gen_glue.c > gen_glue-fixed.c
> yacc -d -o parse.c /home/src/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1/parse.y
> yacc: 4 shift/reduce conflicts
> cc -O2 -pipe -march=core2 -DHAVE_CONFIG_H -I/home/src/kerberos5/tools/make-print-version/../../include -std=gnu99   -c /home/src/kerberos5/tools/make-print-version/../../../crypto/heimdal/lib/vers/make-print-version.c
> cc -O2 -pipe -march=core2 -DHAVE_CONFIG_H -I/home/src/kerberos5/tools/make-roken/../../include -std=gnu99   -c make-roken.c
> /home/src/kerberos5/tools/make-print-version/../../../crypto/heimdal/lib/vers/make-print-version.c:1: error: bad value (core2) for -march= switch
> /home/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
> *** Error code 1
> 1 error
> *** Error code 2
> *** Error code 1
> 1 error
> *** Error code 2
> 2 errors
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
> 
> Please take a look.

Please take a look at this thread from a little over a month ago,
titled "RELENG_8 does not build with CPUTYPE=core2".  The answer to
the problem is within there (absolutely 100% certain, trust me):

http://lists.freebsd.org/pipermail/freebsd-stable/2011-May/thread.html#62655

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                   Mountain View, CA, US |
| Making life hard for others since 1977.               PGP 4BD6C0CB |



More information about the freebsd-stable mailing list