Date: Tue, 22 Apr 2014 22:01:27 -0700 From: Warner Losh <imp@bsdimp.com> To: Glen Barber <gjb@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers <src-committers@freebsd.org> Subject: Re: svn commit: r264793 - head/release/arm Message-ID: <501CF539-F6EC-489F-B114-390A45FDEF64@gmail.com> In-Reply-To: <201404230147.s3N1l7RI049425@svn.freebsd.org> References: <201404230147.s3N1l7RI049425@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Apr 22, 2014, at 6:47 PM, Glen Barber <gjb@freebsd.org> wrote: > Author: gjb > Date: Wed Apr 23 01:47:07 2014 > New Revision: 264793 > URL: http://svnweb.freebsd.org/changeset/base/264793 >=20 > Log: > Play musical-KNOBS a bit more with release/arm/release.sh. >=20 > For stable/10, r264703 sets the correct WITH/WITHOUT > knobs to get xdev built with the arm-freebsd-gcc binary > installed. Unfortunately, the same fix does not work on > head/. >=20 > Also, quite to my amazement, WITH_GCC=3D1 and WITH_GNUCXX=3D1 > causes xdev to fail spectactularly at least on r264791. >=20 > The situation as it stands is: >=20 > - gcc(1) is needed for the u-boot build. > - cc(1) *cannot* be clang(1) >=20 > To shoe-horn the toolchain to make 'xdev' give what is > needed, remove WITH_GNUCXX=3D1 and add WITH_GCC_BOOTSTRAP=3D1. You shouldn=92t need this, since that should be the default with = WITHOUT_CLANG_IS_CC=85 You fixed the wrong bug :) Warner > MFC After: 1 week > X-MFC-To: stable/10 only > X-MFC-Note: after stable/10 is broken in this way... > Sponsored by: The FreeBSD Foundation >=20 > Modified: > head/release/arm/release.sh >=20 > Modified: head/release/arm/release.sh > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/release/arm/release.sh Wed Apr 23 01:27:53 2014 = (r264792) > +++ head/release/arm/release.sh Wed Apr 23 01:47:07 2014 = (r264793) > @@ -94,7 +94,7 @@ install_uboot() { > main() { > # Build the 'xdev' target for crochet. > eval chroot ${CHROOTDIR} make -C /usr/src \ > - WITH_GCC=3D1 WITH_GNUCXX=3D1 WITHOUT_CLANG_IS_CC=3D1 \ > + WITH_GCC=3D1 WITH_GCC_BOOTSTRAP=3D1 = WITHOUT_CLANG_IS_CC=3D1 \ > XDEV=3D${XDEV} XDEV_ARCH=3D${XDEV_ARCH} \ > ${WORLD_FLAGS} xdev >=20 >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?501CF539-F6EC-489F-B114-390A45FDEF64>