Date: Mon, 13 Jun 2016 21:51:33 -0700 From: Bryan Drewery <bdrewery@FreeBSD.org> To: Dimitry Andric <dim@FreeBSD.org>, Alan Somers <asomers@freebsd.org> Cc: "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@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... Message-ID: <0602fe0c-8194-ed6f-fb1d-596b7acad6c0@FreeBSD.org> In-Reply-To: <F931C2E9-BEC3-415C-A840-541EFD378D0C@FreeBSD.org> References: <201605261852.u4QIqn5w073953@repo.freebsd.org> <CAOtMX2jRZ0ZyW5Hw1ESp6EpADa_qvX5QFPHjkgUAFjdHB1OBKA@mail.gmail.com> <D36A3E43-3FFC-4B6A-8BC2-6B7A981FBDCB@FreeBSD.org> <CAOtMX2iaNfs6XY8D9QdY9=FY95mi6TKp=_QCe4eETW7YpYhYHA@mail.gmail.com> <CCBCA662-E090-488E-BFB4-55B5153CFAE1@FreeBSD.org> <CAOtMX2hs5ZJT14fSXsFYsi%2Bo=hJ04_Q-dgnP5nJ9Ub543Dv5sg@mail.gmail.com> <F931C2E9-BEC3-415C-A840-541EFD378D0C@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --UDDvSVvDP4uoce7XVIkEKEv4FXkkuOOHk Content-Type: multipart/mixed; boundary="bOO6MvPeNk3qsxe8RirmL22clJqIpAOsL" From: Bryan Drewery <bdrewery@FreeBSD.org> To: Dimitry Andric <dim@FreeBSD.org>, Alan Somers <asomers@freebsd.org> Cc: "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@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> <CAOtMX2jRZ0ZyW5Hw1ESp6EpADa_qvX5QFPHjkgUAFjdHB1OBKA@mail.gmail.com> <D36A3E43-3FFC-4B6A-8BC2-6B7A981FBDCB@FreeBSD.org> <CAOtMX2iaNfs6XY8D9QdY9=FY95mi6TKp=_QCe4eETW7YpYhYHA@mail.gmail.com> <CCBCA662-E090-488E-BFB4-55B5153CFAE1@FreeBSD.org> <CAOtMX2hs5ZJT14fSXsFYsi+o=hJ04_Q-dgnP5nJ9Ub543Dv5sg@mail.gmail.com> <F931C2E9-BEC3-415C-A840-541EFD378D0C@FreeBSD.org> In-Reply-To: <F931C2E9-BEC3-415C-A840-541EFD378D0C@FreeBSD.org> --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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0602fe0c-8194-ed6f-fb1d-596b7acad6c0>