Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Nov 2016 10:08:29 +0200
From:      clutton <clutton@zoho.com>
To:        freebsd-toolchain@freebsd.org
Subject:   devel/libc++ too old
Message-ID:  <1479802109.68675.23.camel@zoho.com>

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

--=-QM0Ct3jd70EBmGAhAXTk
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi list.

I was scared to write here for a long time. Now it's probably the time
to deal with my fears :)

New www/chromium port (currently only on github) has problems building
on 10.1 and 9x releases because of outdated libc++. I tried to use
libc++ from ports and just has found that the library is outdated too.
It gave me an error from clang 3.6 time if I'm not mistaken. Are there
any plans to update the port?

Also, thank you for maintaining such huge and great toolkit.

/usr/local/include/c++/v1/type_traits:438:83: error: no matching
function for call to '__source'
=C2=A0=C2=A0=C2=A0=C2=A0: public integral_constant<bool,
sizeof(__libcpp_is_function_imp::__test<_Tp>(__libcpp_is_function_imp::
__source<_Tp>())) =3D=3D 1>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0^~~~~~~~~=
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/c++/v1/type_traits:443:14: note: in instantiation of
template class 'std::__1::__libcpp_is_function<void (unsigned char *)
const, false>' requested here
=C2=A0=C2=A0=C2=A0=C2=A0: public __libcpp_is_function<_Tp> {};
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0^
/usr/local/include/c++/v1/type_traits:448:97: note: in instantiation of
template class 'std::__1::is_function<void (unsigned char *) const>'
requested here
template <class _Tp, class _Up> struct
__libcpp_is_member_function_pointer<_Tp _Up::*> : public
is_function<_Tp> {};
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
^
/usr/local/include/c++/v1/type_traits:451:14: note: in instantiation of
template class 'std::__1::__libcpp_is_member_function_pointer<void
(flatbuffers::simple_allocator::*)(unsigned char *) const>' requested
here
=C2=A0=C2=A0=C2=A0=C2=A0: public __libcpp_is_member_function_pointer<typena=
me
remove_cv<_Tp>::type> {};
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0^
/usr/local/include/c++/v1/type_traits:3134:17: note: in instantiation
of template class 'std::__1::is_member_function_pointer<void
(flatbuffers::simple_allocator::*)(unsigned char *) const>' requested
here
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0is_member_function_pointer<typename
remove_reference<_Fp>::type>::value &&
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0^
/usr/local/include/c++/v1/type_traits:3141:1: note: in instantiation of
default argument for '__invoke<void
(flatbuffers::simple_allocator::*)(unsigned char *) const,
flatbuffers::simple_allocator &, unsigned char *&>' required here
__invoke(_Fp&& __f, _A0&& __a0, _Args&& ...__args)
^~~~~~~~
/usr/local/include/c++/v1/type_traits:3187:13: note: (skipping 6
contexts in backtrace; use -ftemplate-backtrace-limit=3D0 to see all)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0__i=
nvoke(std::__1::declval<_Fp>(),
std::__1::declval<_Args>()...)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0^
/usr/local/include/c++/v1/type_traits:3187:13: note: while substituting
deduced template arguments into function template '__invoke' [with _Fp
=3D std::__1::__bind<void (flatbuffers::simple_allocator::*)(unsigned
char *) const, const flatbuffers::simple_allocator &, unsigned char *&>
&, _Args =3D <unsigned char *>]
/usr/local/include/c++/v1/type_traits:3195:11: note: in instantiation
of template class 'std::__1::__invokable_imp<std::__1::__bind<void
(flatbuffers::simple_allocator::*)(unsigned char *) const, const
flatbuffers::simple_allocator &, unsigned char *&> &, unsigned char *>'
requested here
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0__invokable_imp=
<_Fp, _Args...>::value>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0^
/usr/local/include/c++/v1/functional:1427:33: note: in instantiation of
template class 'std::__1::__invokable<std::__1::__bind<void
(flatbuffers::simple_allocator::*)(unsigned char *) const, const
flatbuffers::simple_allocator &, unsigned char *&> &, unsigned char *>'
requested here
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0__invokable<_Fp&, _ArgTypes...>::=
value>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0^
/usr/local/include/c++/v1/functional:1454:41: note: in instantiation of
default argument for '__callable<std::__1::__bind<void
(flatbuffers::simple_allocator::*)(unsigned char *) const, const
flatbuffers::simple_allocator &, unsigned char *&> >' required here
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0__callable<_Fp>::value &&
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0^~~~~~~~~~~~~~~
../../third_party/flatbuffers/src/include/flatbuffers/flatbuffers.h:467
:7: note: while substituting deduced template arguments into function
template 'function' [with _Fp =3D std::__1::__bind<void
(flatbuffers::simple_allocator::*)(unsigned char *) const, const
flatbuffers::simple_allocator &, unsigned char *&>]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0std::bind(&simple_allocator::deallocate=
, allocator_, buf_));
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0^
/usr/local/include/c++/v1/type_traits:429:27: note: candidate template
ignored: substitution failure [with _Tp =3D void (unsigned char *)
const]: reference to function type 'void (unsigned char *) const'
cannot have 'const' qualifier
template <class _Tp> _Tp& __source();
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0~~~=C2=A0=C2=A0^
In file included from
../../third_party/flatbuffers/src/src/idl_gen_cpp.cpp:19:
../../third_party/flatbuffers/src/include/flatbuffers/flatbuffers.h:466
:36: error: no matching constructor for initialization of
'std::function<void (uint8_t *)>' (aka 'function<void (unsigned char
*)>')
=C2=A0=C2=A0=C2=A0=C2=A0std::function<void(uint8_t *)> deleter(
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0^
/usr/local/include/c++/v1/functional:1448:5: note: candidate
constructor not viable: no known conversion from '__bind<void
(flatbuffers::simple_allocator::*)(unsigned char *) const, const
flatbuffers::simple_allocator &, unsigned char *&>' to 'nullptr_t' for
1st argument
=C2=A0=C2=A0=C2=A0=C2=A0function(nullptr_t) noexcept : __f_(0) {}
=C2=A0=C2=A0=C2=A0=C2=A0^
/usr/local/include/c++/v1/functional:1449:5: note: candidate
constructor not viable: no known conversion from '__bind<void
(flatbuffers::simple_allocator::*)(unsigned char *) const, const
flatbuffers::simple_allocator &, unsigned char *&>' to 'const
std::__1::function<void (unsigned char *)>' for 1st argument
=C2=A0=C2=A0=C2=A0=C2=A0function(const function&);
=C2=A0=C2=A0=C2=A0=C2=A0^
/usr/local/include/c++/v1/functional:1450:5: note: candidate
constructor not viable: no known conversion from '__bind<void
(flatbuffers::simple_allocator::*)(unsigned char *) const, const
flatbuffers::simple_allocator &, unsigned char *&>' to
'std::__1::function<void (unsigned char *)>' for 1st argument
=C2=A0=C2=A0=C2=A0=C2=A0function(function&&) noexcept;
=C2=A0=C2=A0=C2=A0=C2=A0^
/usr/local/include/c++/v1/functional:1454:41: note: candidate template
ignored: disabled by 'enable_if' [with _Fp =3D std::__1::__bind<void
(flatbuffers::simple_allocator::*)(unsigned char *) const, const
flatbuffers::simple_allocator &, unsigned char *&>]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0__callable<_Fp>::value &&
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0^
/usr/local/include/c++/v1/functional:1460:7: note: candidate
constructor template not viable: requires 2 arguments, but 1 was
provided
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0function(allocator_arg_t, const _Alloc&=
) noexcept : __f_(0) {}
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0^
/usr/local/include/c++/v1/functional:1463:7: note: candidate
constructor template not viable: requires 3 arguments, but 1 was
provided
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0function(allocator_arg_t, const _Alloc&=
, nullptr_t) noexcept :
__f_(0) {}
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0^
/usr/local/include/c++/v1/functional:1465:7: note: candidate
constructor template not viable: requires 3 arguments, but 1 was
provided
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0function(allocator_arg_t, const _Alloc&=
, const function&);
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0^
/usr/local/include/c++/v1/functional:1467:7: note: candidate
constructor template not viable: requires 3 arguments, but 1 was
provided
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0function(allocator_arg_t, const _Alloc&=
, function&&);
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0^
/usr/local/include/c++/v1/functional:1469:7: note: candidate
constructor template not viable: requires at least 3 arguments, but 1
was provided
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0function(allocator_arg_t, const _Alloc&=
 __a, _Fp __f,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0^
/usr/local/include/c++/v1/functional:1446:5: note: candidate
constructor not viable: requires 0 arguments, but 1 was provided
=C2=A0=C2=A0=C2=A0=C2=A0function() noexcept : __f_(0) {}
=C2=A0=C2=A0=C2=A0=C2=A0^
2 errors generated.
--=-QM0Ct3jd70EBmGAhAXTk
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iQIcBAABCAAGBQJYM/z9AAoJEH2wP42yyP6QovcQALlN9o9UEElVpHE+mmhiY7yE
nhl9ik/kLFttU/G/SVaMbJZHdCvZgK9pm5H3l4TXnQFwiEUNNbGsE9f0mJpONrNB
SqX7FiKKGqVLAe5soLCwGn3VDmdD4xHIJzAiBorgzpwO0e4ifocIv7yTQOfISCwE
cxgpqUa/9d9QinB7T7z3OHZ2sgP6Z+G6P32sKed/VZ9Mf+OStuDo5OQg/IkV/DxZ
7IDURE7VPH2t/21+ODrwK+xZwoHtTyTzRb3yqQkSUFLvfzrRm/BYpkebsTeWZpXY
d7iHDUW3hZjwfsldySgAzCE3sTHqoUj83uNPPWASSbi9inuzyZtVNA/hVbgzwY+S
wdTco8Xp3Acfc0ZjQkqYe1soMLy/vl0anxV+OJ3iJyh5MzdajmK7Q2fO/QmvSWBz
4z+2b4Rx5WyRAB0NKF5wJlhg0oE0yfHI3figk6i0Uv0dFUjcJKK96wNqF5vWpqFG
97ea2/cUYQyAdRXxOAfVJKSxln0YBF89YusoM5PacHW/yIjdPETTrP7h4plNNCq9
GZUVe77jxCdXRn5KjaInKrOdFg8/gWiASrSUOquR2sqxABs7C4MYExzJg4yUY9Xh
yNayYhL6877LECchLi0Yp9HRc+nme8yvDTrsGCU+Sd/ESXC2sOQNlpXLUnSUGHTv
jNYLzNNYmZP/9L62MfRj
=FhKv
-----END PGP SIGNATURE-----

--=-QM0Ct3jd70EBmGAhAXTk--





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1479802109.68675.23.camel>