From owner-freebsd-toolchain@freebsd.org Thu Mar 24 22:45:48 2016 Return-Path: Delivered-To: freebsd-toolchain@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 62E8DADD3F3 for ; Thu, 24 Mar 2016 22:45:48 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48644102D for ; Thu, 24 Mar 2016 22:45:48 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 47BDFADD3F2; Thu, 24 Mar 2016 22:45:48 +0000 (UTC) Delivered-To: toolchain@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 4761AADD3F1 for ; Thu, 24 Mar 2016 22:45:48 +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 2C4E1102C; Thu, 24 Mar 2016 22:45:48 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id 25ACC1643; Thu, 24 Mar 2016 22:45:48 +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 D10D41DFC0; Thu, 24 Mar 2016 22:45:47 +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 r0lS1fvMffxR; Thu, 24 Mar 2016 22:45:45 +0000 (UTC) Subject: Re: CXXSTD=c++11 DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 025FE1DFBB To: Dimitry Andric References: <56F46BE0.7080909@FreeBSD.org> <43ABA5F3-60E0-4A29-9698-B345A3DA0A8B@FreeBSD.org> Cc: toolchain@FreeBSD.org From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <56F46E1B.4010605@FreeBSD.org> Date: Thu, 24 Mar 2016 15:45:47 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <43ABA5F3-60E0-4A29-9698-B345A3DA0A8B@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="taLDJrjlHjQfNGrTl5cmVa4te6OCEupEW" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2016 22:45:48 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --taLDJrjlHjQfNGrTl5cmVa4te6OCEupEW Content-Type: multipart/mixed; boundary="E4jjuhsCCXh86fHJrS7ccsGdC98oUk034" From: Bryan Drewery To: Dimitry Andric Cc: toolchain@FreeBSD.org Message-ID: <56F46E1B.4010605@FreeBSD.org> Subject: Re: CXXSTD=c++11 References: <56F46BE0.7080909@FreeBSD.org> <43ABA5F3-60E0-4A29-9698-B345A3DA0A8B@FreeBSD.org> In-Reply-To: <43ABA5F3-60E0-4A29-9698-B345A3DA0A8B@FreeBSD.org> --E4jjuhsCCXh86fHJrS7ccsGdC98oUk034 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 3/24/2016 3:44 PM, Dimitry Andric wrote: > On 24 Mar 2016, at 23:36, Bryan Drewery wrote: >> >> Is there any problem with forcing -std=3Dc++11 for all CXX/LIB_CXX bui= lds >> now? We do this when using an external GCC since it doesn't default t= o >> the c++11 standard quite yet. As far as I understand, we require c++1= 1 >> to build clang/libc++. >=20 > Yes, but it already passes -std=3Dc++11 in the correct places, as far a= s I > know. E.g. during the clang and libc++ builds. >=20 >=20 >> It seems to be the problem at >> https://lists.freebsd.org/pipermail/freebsd-toolchain/2015-October/001= 757.html >> which I've fixed in an upcoming commit to properly pass -std=3Dc++11 t= o >> the lib32 build in CXXFLAGS. >=20 > Hm, is this occuring during the build of libcxxrt, or of libc++? If it= > is the former, then it seems that the system headers don't properly > declare _Static_assert() in that case. I have no clue as to why, thoug= h > maybe it's picking something up from gcc's famously "fixed" standard > headers? >=20 libcxxrt. My fix also includes passing the proper -isystem =3D/usr/include/c++/v1 p= ath. I'll try without the -std change. --=20 Regards, Bryan Drewery --E4jjuhsCCXh86fHJrS7ccsGdC98oUk034-- --taLDJrjlHjQfNGrTl5cmVa4te6OCEupEW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJW9G4bAAoJEDXXcbtuRpfPADAH/1hARk/DofVo8nFz5WFh59JX /JBvuGlE99SaHqg6nF6X4k/lTIv8z4JkZ9t51RoAhc5iL8JCMG5W0YgOlKoDpPRS tefslGA7gbqtNbemzsp6cdXQLG6uTjOj0jeK6KEaR2glwKzYgC8p9m+P+MwY7FRf CAnu6K/d+plDu4Ek+MWQyZHSbujiZ5f2L8/gRZMz2+KEuK5bih7u+T7ut9AVO8EY bDuCRC0uVXv159nLPQWq0/mXOFBbo17VprjNvQqK/NwQKryRfrcGipy3mSDFbZbx 3TzQpRZLPPgrvPv9WHKB8sEZS91YL1HQGmiraV7E0+J3vdDLBiOLUdw3VaAnSRE= =HuRj -----END PGP SIGNATURE----- --taLDJrjlHjQfNGrTl5cmVa4te6OCEupEW--