Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Mar 2015 21:36:43 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Craig Rodrigues <rodrigc@FreeBSD.org>
Cc:        "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>, freebsd-toolchain@freebsd.org
Subject:   Re: Failed to build with external toolchain
Message-ID:  <1857A2A3-0C19-4F52-BCAF-6C72FE7D8DF3@FreeBSD.org>
In-Reply-To: <CAG=rPVd9deshQWvMXOHF%2ByfvqZfo3UOsao9iqipX_CQGKs=vHA@mail.gmail.com>
References:  <CAG=rPVfP4=BuL8DOuy9FNDcN51zshfBfeuFONiAAONWON6n3kA@mail.gmail.com> <A1580F95-4882-46F3-96C2-3D3D1D493706@FreeBSD.org> <CAG=rPVd9deshQWvMXOHF%2ByfvqZfo3UOsao9iqipX_CQGKs=vHA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <rodrigc@FreeBSD.org> wrote:
>=20
> On Tue, Mar 3, 2015 at 9:17 AM, Dimitry Andric <dim@freebsd.org> =
wrote:
>=20
>> On 03 Mar 2015, at 09:00, Craig Rodrigues <rodrigc@FreeBSD.org> =
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<nvlist_t *>(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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1857A2A3-0C19-4F52-BCAF-6C72FE7D8DF3>