Date: Sat, 14 May 2011 23:19:21 -0500 From: Scott Allendorf <scott-allendorf@uiowa.edu> To: Oliver Pinter <oliver.pntr@gmail.com> Cc: Dominic Fandrey <kamikaze@bsdforen.de>, freebsd-stable@freebsd.org Subject: Re: RELENG_8 does not build with CPUTYPE=core2 Message-ID: <4DCF5449.1030709@uiowa.edu> In-Reply-To: <BANLkTin5qUd-sphJJP6tnVw-5L-rcTNjsQ@mail.gmail.com> References: <4DCDAD36.5080007@bsdforen.de> <4DCDCF1B.3060300@uiowa.edu> <4DCE665A.50907@bsdforen.de> <BANLkTin5qUd-sphJJP6tnVw-5L-rcTNjsQ@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] I had discovered this method of working around the fatal error, but the question remains: Should buildworld ever use the base compiler once the bootstrap compiler is built? Much of buildworld had already completed with "-march=core2" being fed to the bootstrap compiler by the time this error occurs. -Scott Oliver Pinter wrote: > in two step you can elliminate the warning message: > 1) compile and install world and kernel with commented CPUTYPE in make.conf > 2) uncomment the CPUTYPE line, and recompile world and kernel > > the problem is, the build system based on newer (4.2.2) gcc, and when > you set CPUTYPE=core2 than substitute -march=core2 in gcc parameter > list, but older base system cc (4.2.1) do not knows this option or > value. > > On 5/14/11, Dominic Fandrey <kamikaze@bsdforen.de> wrote: >> On 14/05/2011 02:38, Scott Allendorf wrote: >>> 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 >>>> ... >>> I saw this too when updating systems across the compiler update. As >>> near as I can tell, some part of the build is not using the new >>> "core2"-aware compiler built as part of the toolchain and is using the >>> older, installed version instead. >>> >>> Commenting out the CPUTYPE definition allowed my buildworlds to complete >>> successfully. ... >> Thanks for the workaround! >> >> It still worries me, that there's a bug in the bootstrapping. You >> never know what kind of trouble comes from that kind of thing. >> >> I hope this is going to be fixed. >> >> Regards >> >> >> -- >> 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-unsubscribe@freebsd.org" >> -- Scott C. Allendorf Email: scott-allendorf@uiowa.edu Senior Systems Administrator Office: 216A Van Allen Hall Department of Physics and Astronomy Voice: (319) 335-0003 The University of Iowa FAX: (319) 335-1753 Iowa City, Iowa 52242-1479 ICBM: 41 39 43.6 N 91 31 55.1 W [-- Attachment #2 --] 0 *H 010 + 0 *H 00r'znn0 *H 0o10 USE10U AddTrust AB1&0$UAddTrust External TTP Network1"0 UAddTrust External CA Root0 050607080910Z 200530104838Z010 UUS10 UUT10USalt Lake City10U The USERTRUST Network1!0Uhttp://www.usertrust.com1604U-UTN-USERFirst-Client Authentication and Email0"0 *H 0 9}A;bF7`u9eJGHjM5BI/|1Nd.)բdąQ5yNh{zɤ2O0nFxoY^/m/묡j.g5yiF͠v:z'[=s"HaLi.1 ,CZqYں gT: wetbh~GeMW(t40b0, 00U#0z4&&T$T0Ug}ĝ&p KPH|=n}0U0U00{Ut0r08642http://crl.comodoca.com/AddTrustExternalCARoot.crl06420http://crl.comodo.net/AddTrustExternalCARoot.crl0 *H ؉o( ~TBk ĠmאfyCqovE7=YxFz[r-F)Iy<mmhOr6j5PρmUY0JmdI|6i9ZK: D/p%ZTļms2,雄$-zhP?Mg.;N &DeMR>k2\Al]Xm=G. ̎00hYQ'M}'c0 *H 010 UUS10 UUT10USalt Lake City10U The USERTRUST Network1!0Uhttp://www.usertrust.com1604U-UTN-USERFirst-Client Authentication and Email0 110128000000Z 120128235959Z0*1(0& *H scott-allendorf@uiowa.edu0"0 *H 0 nXϊyϙhm+]ޙލz=?Lc98XM#|%FA53ϸ_te`]B:9R=t W .(nN/l8N)!~'{,#YRk<epbgt>.vn MB|ъDzboa{q6`H*p];Qi[\.QOv`ܖx']V\ 00U#0g}ĝ&p KPH|=n}0UWRJPomP1գ50U0U0 0 U%0++10 `HB 0FU ?0=0;+10+0)+https://secure.comodo.net/CPS0U00LJHFhttp://crl.comodoca.com/UTN-USERFirst-ClientAuthenticationandEmail.crl0JHFDhttp://crl.comodo.net/UTN-USERFirst-ClientAuthenticationandEmail.crl0l+`0^06+0*http://crt.comodoca.com/UTNAAAClientCA.crt0$+0http://ocsp.comodoca.com0$U0scott-allendorf@uiowa.edu0 *H qŶ& WVEz_AHX`צtm> `'N<?b'D8qhac\ыVT 3pӍ{́\+OydV<63կBcmG5GDZ~39~c):iڿPM.f9%%{*bŭ*]A2ܨ$E㨠Ƴ!q(}UT>'/Q*A00hYQ'M}'c0 *H 010 UUS10 UUT10USalt Lake City10U The USERTRUST Network1!0Uhttp://www.usertrust.com1604U-UTN-USERFirst-Client Authentication and Email0 110128000000Z 120128235959Z0*1(0& *H scott-allendorf@uiowa.edu0"0 *H 0 nXϊyϙhm+]ޙލz=?Lc98XM#|%FA53ϸ_te`]B:9R=t W .(nN/l8N)!~'{,#YRk<epbgt>.vn MB|ъDzboa{q6`H*p];Qi[\.QOv`ܖx']V\ 00U#0g}ĝ&p KPH|=n}0UWRJPomP1գ50U0U0 0 U%0++10 `HB 0FU ?0=0;+10+0)+https://secure.comodo.net/CPS0U00LJHFhttp://crl.comodoca.com/UTN-USERFirst-ClientAuthenticationandEmail.crl0JHFDhttp://crl.comodo.net/UTN-USERFirst-ClientAuthenticationandEmail.crl0l+`0^06+0*http://crt.comodoca.com/UTNAAAClientCA.crt0$+0http://ocsp.comodoca.com0$U0scott-allendorf@uiowa.edu0 *H qŶ& WVEz_AHX`צtm> `'N<?b'D8qhac\ыVT 3pӍ{́\+OydV<63կBcmG5GDZ~39~c):iڿPM.f9%%{*bŭ*]A2ܨ$E㨠Ƴ!q(}UT>'/Q*A1]0Y0010 UUS10 UUT10USalt Lake City10U The USERTRUST Network1!0Uhttp://www.usertrust.com1604U-UTN-USERFirst-Client Authentication and EmailYQ'M}'c0 + n0 *H 1 *H 0 *H 1 110515041921Z0# *H 1+)DvqtJ]R<0_ *H 1R0P0 `He0 *H 0*H 0 *H @0+0 *H (0 +710010 UUS10 UUT10USalt Lake City10U The USERTRUST Network1!0Uhttp://www.usertrust.com1604U-UTN-USERFirst-Client Authentication and EmailYQ'M}'c0*H 1Ơ010 UUS10 UUT10USalt Lake City10U The USERTRUST Network1!0Uhttp://www.usertrust.com1604U-UTN-USERFirst-Client Authentication and EmailYQ'M}'c0 *H Xjl(2Nkۀn(tn3[zU?!͛NHtS J٨=;">9 cqpf"F^)xbʷ,`gg`'RNDzlYS4$8&괈K!e.VX|YiSG{{4LCJX-eT}NNPl/ն2hdشjuxxɱ:9 qn5<Xvq"?Nhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DCF5449.1030709>
