From owner-svn-src-all@FreeBSD.ORG Mon May 20 19:51:16 2013 Return-Path: Delivered-To: svn-src-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B59C1BC8; Mon, 20 May 2013 19:51:16 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) by mx1.freebsd.org (Postfix) with ESMTP id 6FDD0192F; Mon, 20 May 2013 19:51:15 +0000 (UTC) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.5/8.14.5) with ESMTP id r4KJpE6X004102; Mon, 20 May 2013 14:51:14 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.5/8.14.5/Submit) id r4KJpEbF004101; Mon, 20 May 2013 14:51:14 -0500 (CDT) (envelope-from brooks) Date: Mon, 20 May 2013 14:51:14 -0500 From: Brooks Davis To: Andreas Tobler Subject: Re: svn commit: r250659 - in head: . share/mk tools/build/options tools/tools/makeroot Message-ID: <20130520195114.GE2630@lor.one-eyed-alien.net> References: <201305151430.r4FEU31J061480@svn.freebsd.org> <51955849.4020503@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zjcmjzIkjQU2rmur" Content-Disposition: inline In-Reply-To: <51955849.4020503@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 19:51:16 -0000 --zjcmjzIkjQU2rmur Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 17, 2013 at 12:06:01AM +0200, Andreas Tobler wrote: > On 15.05.13 16:30, Brooks Davis wrote: > > Author: brooks > > Date: Wed May 15 14:30:03 2013 > > New Revision: 250659 > > URL: http://svnweb.freebsd.org/changeset/base/250659 > >=20 > > Log: > > Add support for an external cross compiler. The cross compiler is > > specified by passing the XCC, XCXX, and XCPP variables (corresponding= to > > CC, CXX, and CPP) to buildworld/buildkernel. The compiler must be cl= ang > > or be configured to target the appropriate architecture. > > =20 > > To speed build times, if XCC is an absolute path or > > WITHOUT_CROSS_COMPILER is defined then no cross compiler will be built > > during the cross-tools stage. > > =20 > > Limited documentation of this feature can currently be found at: > > =20 > > https://wiki.freebsd.org/ExternalToolchain > > =20 > > This functionality should be considered experimental and is subject to > > change without notice. > > =20 > > Sponsored by: DARPA, AFRL > > Discussed with: imp, sjg >=20 > I had to revert this commit to be able to build world and kernel with > WITHOUT_CLANG_IS_CC in /etc/src.conf >=20 > It did not find the headers (like math.h) when building the 32-bit part > on amd64. I'll need more information to do any useful debugging. How is the host configured? If it's not 100% stock, I need to know what WITH/WITHOUT options were set to build it. Are you setting any options other than WITHOUT_CLANG_IS_CC during this build? -- Brooks --zjcmjzIkjQU2rmur Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iD8DBQFRmn6yXY6L6fI4GtQRAuAoAKCxl0jL2XSk7pT7O/jQerL1IkgXhQCdE0w9 p+3NZbKT5FsTbfHJOW4vzGI= =HeY1 -----END PGP SIGNATURE----- --zjcmjzIkjQU2rmur--