From owner-svn-src-head@FreeBSD.ORG Thu Apr 30 00:29:22 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 18FB31FE; Thu, 30 Apr 2015 00:29:22 +0000 (UTC) Received: from mail-pd0-x229.google.com (mail-pd0-x229.google.com [IPv6:2607:f8b0:400e:c02::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D94F91D24; Thu, 30 Apr 2015 00:29:21 +0000 (UTC) Received: by pdbqd1 with SMTP id qd1so43345172pdb.2; Wed, 29 Apr 2015 17:29:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to; bh=XF9lEXeIM4sIG8C8j8qHcBQ5MhwfeFAUJCIFpNKjQvI=; b=cdVzWWJQ11/YbAyJW4zKxfjKp3VFECoVCM0qtSa++xKupY70NxVzarJ/sDvGZslKVf zOvRl/qeJyVKK0iWOBX2sYOY6xOZty/qZK3XmgYE5OOsiA/gIHdSpRkmyFe4bBXxrcWX XpX74Ztqu6pDUZ43dlBR9zGzmaA50j0oOtKz1SCZKUdLvvRp9Pu7S/4VbMb0JluWM+j+ Xch0RLfXfR+2misbBtwmYCwTG/iFRR9R6o4nt4lprZt4hQTBx1Kls1FpJ7kJOr7VQwPd 1tEKo/WeDH/9p2+kUs8S3Dx8q/0+fZbIeTuvLzVZwhSi1FncA7FooNDiGygHlEY5d1+p 49GQ== X-Received: by 10.68.87.35 with SMTP id u3mr2947542pbz.127.1430353761356; Wed, 29 Apr 2015 17:29:21 -0700 (PDT) Received: from ?IPv6:2601:8:ab80:7d6:857d:cd13:79bf:f40d? ([2601:8:ab80:7d6:857d:cd13:79bf:f40d]) by mx.google.com with ESMTPSA id fu7sm338001pac.26.2015.04.29.17.29.20 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Apr 2015 17:29:20 -0700 (PDT) Subject: Re: svn commit: r282260 - head Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_AA894F30-21B2-48F8-9439-4D6A467B26BB"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b6 From: Garrett Cooper In-Reply-To: <201504300017.t3U0HXgf032607@svn.freebsd.org> Date: Wed, 29 Apr 2015 17:29:17 -0700 Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Message-Id: References: <201504300017.t3U0HXgf032607@svn.freebsd.org> To: Sean Bruno X-Mailer: Apple Mail (2.1878.6) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Apr 2015 00:29:22 -0000 --Apple-Mail=_AA894F30-21B2-48F8-9439-4D6A467B26BB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Apr 29, 2015, at 17:17, Sean Bruno wrote: > Author: sbruno > Date: Thu Apr 30 00:17:32 2015 > New Revision: 282260 > URL: https://svnweb.freebsd.org/changeset/base/282260 >=20 > Log: > Fix native-xtools breakage when building a gcc enabled target on a = clang > enabled host. Build a one-off gperf and put it in the PATH for the = rest > of the target so the ONE call to gperf by the gcc build picks it up = and > DTRT. >=20 > Reviewed by: imp >=20 > Modified: > head/Makefile.inc1 >=20 > Modified: head/Makefile.inc1 > = =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/Makefile.inc1 Wed Apr 29 23:44:28 2015 = (r282259) > +++ head/Makefile.inc1 Thu Apr 30 00:17:32 2015 = (r282260) > @@ -1535,7 +1535,22 @@ NXBMAKE=3D ${NXBENV} ${MAKE} \ > MK_CLANG_EXTRAS=3Dno MK_CLANG_FULL=3Dno \ > MK_LLDB=3Dno >=20 > +# native-xtools is the current target for qemu-user cross builds of = ports > +# via poudriere and the imgact_binmisc kernel module. > +# For non-clang enabled targets that are still using the in tree gcc > +# we must build a gperf binary for one instance of its Makefiles. On > +# clang-enabled systems, the gperf binary is obsolete. > native-xtools: .MAKE > +.if ${MK_GCC_BOOTSTRAP} !=3D "no" > + mkdir -p ${OBJTREE}/gperf_for_gcc/usr/bin > + ${_+_}@${ECHODIR} "=3D=3D=3D> ${_gperf} = (obj,depend,all,install)"; \ > + cd ${.CURDIR}/${_gperf} && \ > + ${NXBMAKE} DIRPRFX=3D${_gperf}/ obj && \ > + ${NXBMAKE} DIRPRFX=3D${_gperf}/ depend && \ > + ${NXBMAKE} DIRPRFX=3D${_gperf}/ all && \ > + ${NXBMAKE} DIRPRFX=3D${_gperf}/ DESTDIR=3D${OBJTREE}/gperf_for_gcc= install > + PATH=3D${PATH}:${OBJTREE}/gperf_for_gcc/usr/bin This $PATH doesn=92t get used though=85 Oi though... Is there any way to make the xtools targets use the other = targets :/...? --Apple-Mail=_AA894F30-21B2-48F8-9439-4D6A467B26BB Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJVQXdfAAoJEMZr5QU6S73eZ0YH/iZY8BRlYrPAOMTCOHc5dcH+ qls3LDO9xBbPOFoeHrN/3+vEHdsBMJkZEGmgpH6PJMGZKbdrDKN08DVUTj6nRq9b FPw2pdKojAktnjNObZ9nttLZjY6paI2itGXtM6+X+hx5UCm3rucYiwO39UYTFfVw 4dzbUkxmu/gzCvIZh5M43RWFA95F2ETc2WxacWGQrZYLerYf8bGyrfr/FLpxgls0 z5P4dFW9ff7Ji8RnmMZBzyXR897aDXobzIa3SvyMEIuzIzczXxYBqijdp54m+M0K AzHnEae1HSrhJRVfPoXD4OsG2O+tBDjNjnVBFj13RWmNoSThzJzk9hwY9mSDPoM= =VpSY -----END PGP SIGNATURE----- --Apple-Mail=_AA894F30-21B2-48F8-9439-4D6A467B26BB--