From owner-svn-src-head@freebsd.org Tue Jun 14 04:51:39 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 592B7AF2B41; Tue, 14 Jun 2016 04:51:39 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 339462C0C; Tue, 14 Jun 2016 04:51:39 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id 274011822; Tue, 14 Jun 2016 04:51:39 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 0305721E5A; Tue, 14 Jun 2016 04:51:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id 5Vflzt4UxQ-I; Tue, 14 Jun 2016 04:51:35 +0000 (UTC) Subject: Re: svn commit: r300770 - in head: . contrib/libc++/include contrib/libc++/include/experimental contrib/libc++/include/ext contrib/libc++/src contrib/libc++/src/include contrib/libc++/src/support lib/l... DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com D9CF021E52 To: Dimitry Andric , Alan Somers References: <201605261852.u4QIqn5w073953@repo.freebsd.org> Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" From: Bryan Drewery Organization: FreeBSD Message-ID: <0602fe0c-8194-ed6f-fb1d-596b7acad6c0@FreeBSD.org> Date: Mon, 13 Jun 2016 21:51:33 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="UDDvSVvDP4uoce7XVIkEKEv4FXkkuOOHk" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.22 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: Tue, 14 Jun 2016 04:51:39 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --UDDvSVvDP4uoce7XVIkEKEv4FXkkuOOHk Content-Type: multipart/mixed; boundary="bOO6MvPeNk3qsxe8RirmL22clJqIpAOsL" From: Bryan Drewery To: Dimitry Andric , Alan Somers Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Message-ID: <0602fe0c-8194-ed6f-fb1d-596b7acad6c0@FreeBSD.org> Subject: Re: svn commit: r300770 - in head: . contrib/libc++/include contrib/libc++/include/experimental contrib/libc++/include/ext contrib/libc++/src contrib/libc++/src/include contrib/libc++/src/support lib/l... References: <201605261852.u4QIqn5w073953@repo.freebsd.org> In-Reply-To: --bOO6MvPeNk3qsxe8RirmL22clJqIpAOsL Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 5/27/16 9:19 AM, Dimitry Andric wrote: > This is most likely caused by the option: >=20 > -isystem /scratch/tmp/asomers/obj/home/asomers/freebsd/head/lib32/usr= /include >=20 > because that forces this path to become before any auto-detected system= > include directory. Note that this option is not needed, since the othe= r > option: >=20 > --sysroot=3D/scratch/tmp/asomers/obj/home/asomers/freebsd/head/lib32 >=20 > is already taking care of adding the right include directories. It eve= n > warns about the duplicate directory: >=20 > ignoring duplicate directory > "/scratch/tmp/asomers/obj/home/asomers/freebsd/head/lib32/usr/include= " Argh, I wish GCC cross-compiler wasn't so dumb. It does require -isystem despite --sysroot. It's working currently due to a mistake of having X_COMPILER_TYPE set even for native GCC builds. This is just a reminder that GCC --sysroot is not nearly as useful and obvious as clang's. I'm unwinding some bugs from this and other related X_COMPILER changes. --=20 Regards, Bryan Drewery --bOO6MvPeNk3qsxe8RirmL22clJqIpAOsL-- --UDDvSVvDP4uoce7XVIkEKEv4FXkkuOOHk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJXX41WAAoJEDXXcbtuRpfP7RAIAJY74mB8FRvwWnOsrG+uUUTH CavT9z74AnwpQY0hnjD8IQN9ocl8NwzlaYgVk13cG7a1QjhpaMkSgc+uTbjMtVET TNS6qevJoGEJuCgtKN2sm5ot8Tz/BNVVi5fqdykHPlyvf1bMQLmjQdr3WP3dg801 qERY9E1xVmnk5BLtqDZipuqLDGFFKfNH6q4pkGW6ihM9PiaELkiSJVpzZqm4zVb4 0y8IgtA5zZ/+gTahyHokGkmjtwNgJJu0R0C3VrNNaBbAc2/5fmGem93+pGXouIn+ SB6All60NWvtukzNSZluxHmXzDRRJj3aSetwRcr0IfH0QtHuJU9talcDwiDv2NE= =onaI -----END PGP SIGNATURE----- --UDDvSVvDP4uoce7XVIkEKEv4FXkkuOOHk--