Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 2014 01:47:07 +0000 (UTC)
From:      Glen Barber <gjb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r264793 - head/release/arm
Message-ID:  <201404230147.s3N1l7RI049425@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gjb
Date: Wed Apr 23 01:47:07 2014
New Revision: 264793
URL: http://svnweb.freebsd.org/changeset/base/264793

Log:
  Play musical-KNOBS a bit more with release/arm/release.sh.
  
  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/.
  
  Also, quite to my amazement, WITH_GCC=1 and WITH_GNUCXX=1
  causes xdev to fail spectactularly at least on r264791.
  
  The situation as it stands is:
  
   - gcc(1) is needed for the u-boot build.
   - cc(1) *cannot* be clang(1)
  
  To shoe-horn the toolchain to make 'xdev' give what is
  needed, remove WITH_GNUCXX=1 and add WITH_GCC_BOOTSTRAP=1.
  
  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

Modified:
  head/release/arm/release.sh

Modified: head/release/arm/release.sh
==============================================================================
--- 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=1 WITH_GNUCXX=1 WITHOUT_CLANG_IS_CC=1 \
+		WITH_GCC=1 WITH_GCC_BOOTSTRAP=1 WITHOUT_CLANG_IS_CC=1 \
 		XDEV=${XDEV} XDEV_ARCH=${XDEV_ARCH} \
 		${WORLD_FLAGS} xdev
 



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