Date: Sun, 24 Jan 2016 18:20:32 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: Mark Millard <markmi@dsl-only.net> Cc: FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org> Subject: Re: powerpc64-gcc unable to compile clang 3.8.0 from clang380-import -r294609 via buildworld Message-ID: <693CD1BD-6F32-47A5-B399-701219F5A6DA@FreeBSD.org> In-Reply-To: <6BA37DD4-3F58-438B-B1E0-7312389B576D@dsl-only.net> References: <67523280-9F20-4638-BF24-1BFAE8583805@dsl-only.net> <5B511209-F26D-4788-B80B-E0328963C263@FreeBSD.org> <582B67B0-25F4-40BE-A92F-D4818DCB9F97@dsl-only.net> <EE2741F6-406D-4D93-8DF6-91B788F99182@dsl-only.net> <6BA37DD4-3F58-438B-B1E0-7312389B576D@dsl-only.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_474CEA44-0CCD-4425-AA4F-6B71D1585302 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 24 Jan 2016, at 12:20, Mark Millard <markmi@dsl-only.net> wrote: >=20 > My current trial powerpc64-gcc based buildworld is well past where it = stopped before (in a clang 3.8.0 part of the build). What I changed in = libc++ was just a little of __config: It appears upstream has done approximately the same thing here: http://llvm.org/viewvc/llvm-project?view=3Drevision&revision=3D255585 > # svnlite diff /usr/src/contrib/libc++/include/__config > Index: /usr/src/contrib/libc++/include/__config > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- /usr/src/contrib/libc++/include/__config (revision 294609) > +++ /usr/src/contrib/libc++/include/__config (working copy) > @@ -432,13 +432,15 @@ > // No version of GCC supports relaxed constexpr rules > #define _LIBCPP_HAS_NO_CXX14_CONSTEXPR > // GCC 5 will support variable templates > +#if !defined(__cpp_variable_templates) || __cpp_variable_templates < = 201304L > #define _LIBCPP_HAS_NO_VARIABLE_TEMPLATES > +#endif >=20 > #define _NOEXCEPT throw() > #define _NOEXCEPT_(x) > #define _NOEXCEPT_OR_FALSE(x) false >=20 > -#ifndef __GXX_EXPERIMENTAL_CXX0X__ > +#if !defined(__GXX_EXPERIMENTAL_CXX0X__) && __cplusplus < 201103L Except for this change. Why was this needed? >=20 > #define _LIBCPP_HAS_NO_ADVANCED_SFINAE > #define _LIBCPP_HAS_NO_DECLTYPE > @@ -454,7 +456,10 @@ >=20 > #else // __GXX_EXPERIMENTAL_CXX0X__ >=20 > +#if _GNUC_VER < 404 > #define _LIBCPP_HAS_NO_TRAILING_RETURN > +#endif > + > #define _LIBCPP_HAS_NO_ALWAYS_INLINE_VARIADICS Upstream put this in a different part, but semantically it means the same. Eventually I will just import a newer libc++ snapshot wholesale, or when the 3.8.0 version is released, but as I have enough on my plate for now, I will postpone it until clang 3.8.0 hits head. -Dimitry --Apple-Mail=_474CEA44-0CCD-4425-AA4F-6B71D1585302 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.29 iEYEARECAAYFAlalB+cACgkQsF6jCi4glqMKEQCgz9uxLIGfbWi5+fiDpAUm1u7t x+IAoJ8jbVs/78NVJKlzk5LB6wcEHPBp =drFM -----END PGP SIGNATURE----- --Apple-Mail=_474CEA44-0CCD-4425-AA4F-6B71D1585302--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?693CD1BD-6F32-47A5-B399-701219F5A6DA>