From owner-freebsd-arch@FreeBSD.ORG Mon Jul 7 20:32:02 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 C596D434 for ; Mon, 7 Jul 2014 20:32:02 +0000 (UTC) Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8CF602E54 for ; Mon, 7 Jul 2014 20:32:02 +0000 (UTC) Received: by mail-pd0-f172.google.com with SMTP id w10so5925995pde.17 for ; Mon, 07 Jul 2014 13:31:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=QllaIespxxWt+xqNCPjKkh+7wUqWovaWhzxqiMOdhpI=; b=EfgyVozyn+iVjWj6bW1ujKc/jckSl3clRGxaQg2sDlmPAXXCra1i0SlSbK5Glg3FpP B9DsnXAjXEM0HkpI2HPQm08OYB2EHNzhkWwS8ZdN8qyhGgLjeugi6JWpOxJ4pd4AoSWY AgFb+ZsQZJ9XS3ln2VEHi0zrBtHZOQdvy+n3TnxVFN/9UFNTcO15GyyNXPxYTJL+AEPf zw5KWRdCc3iQMbG3BApm9JtjifUdgo99PYgCE4RFQkz0gqxJou8H67cn1HQQreMYGrfH A3Jd0PeafUS5KRdQfwAm/r04aFS6HqXi2yAkpeuCbGPdvBZpuRn8H0+egTtJb5gIqG4c lKHw== X-Gm-Message-State: ALoCoQkW5xC63v1rD0QA7e+AuDPlutc9U0NoJ1hYdOi3Lw0Al23q9BtxUfJJvzwavQ0GJ9ibBsL8 X-Received: by 10.68.194.134 with SMTP id hw6mr30911802pbc.49.1404765115751; Mon, 07 Jul 2014 13:31:55 -0700 (PDT) Received: from [10.64.26.2] (dc1-prod.netflix.com. [69.53.236.251]) by mx.google.com with ESMTPSA id pz10sm53546052pbb.33.2014.07.07.13.31.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 07 Jul 2014 13:31:55 -0700 (PDT) Sender: Warner Losh Content-Type: multipart/signed; boundary="Apple-Mail=_095BECE5-D660-4FFC-BBD4-F437D355FFEA"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Total confusion over toolchain/xdev behavior From: Warner Losh In-Reply-To: <45D67C04-B2E0-4287-AB1E-887E6D49DF2E@FreeBSD.org> Date: Mon, 7 Jul 2014 14:32:04 -0600 Message-Id: <5630BA56-B731-4C58-9B1C-4A04B37E1080@bsdimp.com> References: <1404688077.1059.115.camel@bruno> <1404756848.1105.1.camel@bruno> <9CE37432-1028-44FE-B0B7-224625EB9AB3@bsdimp.com> <45D67C04-B2E0-4287-AB1E-887E6D49DF2E@FreeBSD.org> To: Dimitry Andric 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 20:32:02 -0000 --Apple-Mail=_095BECE5-D660-4FFC-BBD4-F437D355FFEA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Jul 7, 2014, at 1:54 PM, Dimitry Andric wrote: > 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. >=20 > 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... :) Didn=92t seem to help. I thought of that after I sent my mail=85 The = right things are being built, they appear to be installed, but the paths = used don=92t seem to use the installed path :( Warner --Apple-Mail=_095BECE5-D660-4FFC-BBD4-F437D355FFEA 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 iQIcBAEBCgAGBQJTuwPEAAoJEGwc0Sh9sBEA8acP/jauDqsrC/J5s5Hy5BRc1Oky TMeBzvO6NH3Yazv5GWaH9sk2+pz1R/fhPY2uBiPyp06oHk5a4QoKzSrsHcH6JvIa 8YHuU3gBHW8mR/usx1V2Nzv55SC5l+iymO/Nji0QBTHtWBSpgzkPAycU3y3vcvG8 kdChGaZV4XU/bJVOClwtQvZEO1LPwNs1b81i7WH+it+MumnXs7yj8kTnDzAJmppT CbMnvYTSkCuZ4CiEyp+WgtEXnIP9jfporfP+AN+drgJEDJNf8l9Gs3jI+WX4L0E2 fqB4vHvlBA0MvtROFNyhkLvehQIp4xcisGA4XpmCwXydrGqpGn/twCga80EOMVAe qsu/COKCab9Iaunk8Tm49BSOSPLMhgYH7Hqpa0wpFuxOhggly3oVbPcZlEO/Od3X 73fmcJ5jI1D/0+89vpMduvUvZWOdZBvL8S94MJVZQlX69g+xJ/C4UzJJ6ndvnXf8 vziR8549/auY+GdGDNqMgTfWkLNtH22TKYiqKP2h3SkBunGOjfKQ+Mdc52GWH3O3 7ViMIqz9xF1Sjzhq2xFu8RdU132LGUZKyD6IjLz39GnZATZMgAi1ozcjIXVe83HS EoONA7CswA7jpoo/8291SjHfiqpyqRqmJ4HX/8BrdFRro/qqsbrXDADrSz1YKLgi dBvAo8Ep+OS5BNSFOi3H =MF6G -----END PGP SIGNATURE----- --Apple-Mail=_095BECE5-D660-4FFC-BBD4-F437D355FFEA--