Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jul 2011 22:45:06 -0700
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        Eugene Grosbein <eugen@grosbein.pp.ru>
Cc:        stable@freebsd.org
Subject:   Re: Builworld is broken for RELENG_8 when CPUTYPE?=core2
Message-ID:  <20110706054506.GA75147@icarus.home.lan>
In-Reply-To: <4E13F459.30502@grosbein.pp.ru>
References:  <4E13F459.30502@grosbein.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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 |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110706054506.GA75147>