From owner-freebsd-toolchain@FreeBSD.ORG Wed Mar 4 20:36:59 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3CA4997D; Wed, 4 Mar 2015 20:36:59 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E7106D25; Wed, 4 Mar 2015 20:36:58 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::ad8c:3fcc:9718:e182] (unknown [IPv6:2001:7b8:3a7:0:ad8c:3fcc:9718:e182]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id AE97E5C47; Wed, 4 Mar 2015 21:36:49 +0100 (CET) Subject: Re: Failed to build with external toolchain Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_6E9B09CC-3F0A-4A4A-AF74-9541DE389ECA"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.5b5 From: Dimitry Andric In-Reply-To: Date: Wed, 4 Mar 2015 21:36:43 +0100 Message-Id: <1857A2A3-0C19-4F52-BCAF-6C72FE7D8DF3@FreeBSD.org> References: To: Craig Rodrigues X-Mailer: Apple Mail (2.2070.6) Cc: "freebsd-testing@freebsd.org" , freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Mar 2015 20:36:59 -0000 --Apple-Mail=_6E9B09CC-3F0A-4A4A-AF74-9541DE389ECA Content-Type: multipart/mixed; boundary="Apple-Mail=_5752E152-AF01-4B4F-A617-A3E9D812008A" --Apple-Mail=_5752E152-AF01-4B4F-A617-A3E9D812008A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 04 Mar 2015, at 09:48, Craig Rodrigues wrote: >=20 > On Tue, Mar 3, 2015 at 9:17 AM, Dimitry Andric = wrote: >=20 >> On 03 Mar 2015, at 09:00, Craig Rodrigues = wrote: >> CXXFLAGS+=3D -D_LIBCPP_HAS_NO_ADVANCED_SFINAE >>=20 >> to the make.conf file you use for building. >>=20 >=20 > Thanks for the tip. I added that to make.conf, but now > I am getting a different error involving unknown compiler flags: >=20 > = https://jenkins.freebsd.org/job/FreeBSD_HEAD_external_toolchain_gcc/13/con= sole >=20 > Any ideas? Yes, this is due to a custom -mno-align-long-strings flag, which is only supported by gcc in base. I've conditionalized it in r279598, so please try again after that. You will also need this patch I just posted to freebsd-current [1] for libnv: gcc reports the same error about an ambiguous operator<< for one of its ATF tests. -Dimitry [1] = https://lists.freebsd.org/pipermail/freebsd-current/2015-March/054935.html= --Apple-Mail=_5752E152-AF01-4B4F-A617-A3E9D812008A Content-Disposition: attachment; filename=libnv-fix-tests-cxx11-1.diff Content-Type: application/octet-stream; name="libnv-fix-tests-cxx11-1.diff" Content-Transfer-Encoding: 7bit Index: lib/libnv/tests/dnv_tests.cc =================================================================== --- lib/libnv/tests/dnv_tests.cc (revision 279596) +++ lib/libnv/tests/dnv_tests.cc (working copy) @@ -450,7 +450,7 @@ nvl = nvlist_create(0); actual_val = dnvlist_take_nvlist(nvl, "123", NULL); - ATF_REQUIRE_EQ(actual_val, NULL); + ATF_REQUIRE_EQ(actual_val, static_cast(NULL)); free(actual_val); nvlist_destroy(nvl); --Apple-Mail=_5752E152-AF01-4B4F-A617-A3E9D812008A-- --Apple-Mail=_6E9B09CC-3F0A-4A4A-AF74-9541DE389ECA 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.26 iEYEARECAAYFAlT3bOAACgkQsF6jCi4glqM8PgCeNjSgeOX95kbUclPM1azEiWHq dPwAn3uUXNbn7025cxcdBcdYGG6osft1 =Yurs -----END PGP SIGNATURE----- --Apple-Mail=_6E9B09CC-3F0A-4A4A-AF74-9541DE389ECA--