Date: Sun, 19 Jun 2016 13:34:14 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: Yuri <yuri@rawbw.com> Cc: "ports@freebsd.org" <ports@freebsd.org> Subject: Re: Why central builds are performed on 10.1 with broken/different compared to 10, 3 compiler? Message-ID: <E70BB354-987D-4A27-A3AF-9ACE01B0DBD1@FreeBSD.org> In-Reply-To: <64e51a34-fced-4f7f-2a3f-9508c6c24b39@rawbw.com> References: <64e51a34-fced-4f7f-2a3f-9508c6c24b39@rawbw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_1CAFC503-C52F-4330-974C-2F4D579B8954 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 18 Jun 2016, at 19:13, Yuri <yuri@rawbw.com> wrote: >=20 > I regularly get the fallout messages for my net-im/ring-daemon port. = It breaks on 10.1 with the c++11 -related message: >=20 > In file included from = /wrkdirs/usr/ports/net-im/ring-daemon/work/ring-daemon-56ec56f/src/manager= .h:45: > = /wrkdirs/usr/ports/net-im/ring-daemon/work/ring-daemon-56ec56f/src/account= _factory.h:121:107: error: chosen constructor is explicit in = copy-initialization > std::map<std::string, = std::function<std::shared_ptr<Account>(const std::string&)> > = generators_ =3D {}; > = ^~ > /usr/include/c++/v1/map:838:14: note: constructor declared here > explicit map(const key_compare& __comp =3D key_compare()) >=20 >=20 > net-im/ring-daemon doesn't break on 10.3 system though. It has = USES=3Dcompiler:c++14-lang. >=20 > There are two questions: > 1. Why clang36 works differently on 10.1 and 10.3? In this particular case, because 10.1 doesn't have r278724 [1], which updated libc++ in stable/10 to the latest version in head. This was an upstream libc++ bug [2], fixed in upstream r202994 [3]. I think this can be worked around by removing the '=3D' sign, but I = can't verify it at the moment. -Dimitry [1] https://svnweb.freebsd.org/changeset/base/278724 [2] https://llvm.org/bugs/show_bug.cgi?id=3D15724 [3] http://llvm.org/viewvc/llvm-project?view=3Drevision&revision=3D202994 --Apple-Mail=_1CAFC503-C52F-4330-974C-2F4D579B8954 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.30 iEYEARECAAYFAldmg0AACgkQsF6jCi4glqPsfwCeNYbQg4JkJo+rTBsWWC0p+GH1 HeIAoLbQMNdZxW7a1KeH6Oy7tBQJGhgr =gKn6 -----END PGP SIGNATURE----- --Apple-Mail=_1CAFC503-C52F-4330-974C-2F4D579B8954--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E70BB354-987D-4A27-A3AF-9ACE01B0DBD1>