From owner-freebsd-arch@FreeBSD.ORG Mon Jul 7 19:54:19 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1DE5046E; Mon, 7 Jul 2014 19:54:19 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "tensor.andric.com", Issuer "CAcert Class 3 Root" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CDF122A93; Mon, 7 Jul 2014 19:54:18 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::a4f8:2408:fcb7:b36e] (unknown [IPv6:2001:7b8:3a7:0:a4f8:2408:fcb7:b36e]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id A26375C44; Mon, 7 Jul 2014 21:54:08 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_8418DFC3-A1B1-42F8-9EF2-9C20C1E31919"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Total confusion over toolchain/xdev behavior From: Dimitry Andric In-Reply-To: <9CE37432-1028-44FE-B0B7-224625EB9AB3@bsdimp.com> Date: Mon, 7 Jul 2014 21:54:00 +0200 Message-Id: <45D67C04-B2E0-4287-AB1E-887E6D49DF2E@FreeBSD.org> References: <1404688077.1059.115.camel@bruno> <1404756848.1105.1.camel@bruno> <9CE37432-1028-44FE-B0B7-224625EB9AB3@bsdimp.com> To: Warner Losh X-Mailer: Apple Mail (2.1878.6) Cc: Benjamin Kaduk , sbruno@freebsd.org, freebsd-arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2014 19:54:19 -0000 --Apple-Mail=_8418DFC3-A1B1-42F8-9EF2-9C20C1E31919 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 07 Jul 2014, at 21:28, Warner Losh wrote: ... > Just for grins, I did the following on a stock system (without your = change to src.opts.mk from Bapt) and not as root: >=20 > % mkdir $HOME/D > % make DESTDIR=3D$HOME/D XDEV=3Dmips XDEV_ARCH=3Dmips xdev = WITHOUT_CLANG=3Dt WITHOUT_CLANG_BOOTSTRAP=3Dt WITH_GCC=3Dt = WITH_GCC_BOOTSTRAP=3Dt > %=20 >=20 > and it hit the stdc++ bits not being defined. Please see above with = the "clang folks didn=92t properly integrate=94 Or possibly some other = reason. Try adding WITH_GNUCXX=3Dt, which should build and install the correct = libstdc++ headers to ${WORLDTMP} during the early stages. I recently = mailed you and scottl@ a patch for doing just that, if gcc is the = bootstrap compiler... :) -Dimitry --Apple-Mail=_8418DFC3-A1B1-42F8-9EF2-9C20C1E31919 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----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iEYEARECAAYFAlO6+twACgkQsF6jCi4glqMemwCeIoQwu2Ggx5ek09Lve8ZdWg1S VkkAn2WdekdbNIZ/PGJ5aTxipbS5qHJ0 =B3iM -----END PGP SIGNATURE----- --Apple-Mail=_8418DFC3-A1B1-42F8-9EF2-9C20C1E31919--