GCC 10

8 views
Skip to first unread message

Antonio Rojas

unread,
May 19, 2020, 9:32:07 AM5/19/20
to sage-packaging
Building with GCC 10 for the first time, I'm hitting this error:

In file included from /usr/include/c++/10.1.0/bits/locale_conv.h:41,
                from /usr/include/c++/10.1.0/locale:43,
                from /usr/include/c++/10.1.0/iomanip:43,
                from /usr/include/recint/rudisplay.h:47,
                from /usr/include/recint/ruint.h:75,
                from /usr/include/givaro/modular-ruint.h:14,
                from /usr/include/givaro/modular.h:26,
                from /usr/include/linbox/field/field-traits.h:30,
                from /usr/include/linbox/field/gf2.h:40,
                from /usr/include/linbox/vector/stream-gf2.h:77,
                from /usr/include/linbox/vector/stream.h:872,
                from /usr/include/linbox/matrix/densematrix/blas-matrix.h:42,
                from /usr/include/linbox/matrix/dense-matrix.h:79,
                from build/cythonized/sage/matrix/matrix_modn_sparse.cpp:747:
/usr/include/c++/10.1.0/bits/unique_ptr.h: In instantiation of ‘constexpr std::unique_ptr<_Tp, _Dp>::unique_ptr() [with _Del = std::__future_base::_Result
_base::_Deleter; <template-parameter-2-2> = void; _Tp = std::__future_base::_Result_base; _Dp = std::__future_base::_Result_base::_Deleter]’:
/usr/include/c++/10.1.0/future:324:77:   required from here
/usr/include/c++/10.1.0/bits/unique_ptr.h:269:9: error: no matching function for call to ‘std::__uniq_ptr_data<std::__future_base::_Result_base, std::__fu
ture_base::_Result_base::_Deleter, true, true>::__uniq_ptr_data()’
 269 |  : _M_t()
     |         ^


Does anybody have a fix at hand?

Dima Pasechnik

unread,
May 19, 2020, 9:46:16 AM5/19/20
to sage-packaging
I don't think anyone managed top build Sage with gcc 10 yet.
Sage 9.1.rc5 includes a fix allowing a build of gcc 9 using gcc 10.
> --
> You received this message because you are subscribed to the Google Groups "sage-packaging" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-packagin...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-packaging/5dd51017-7cd8-4534-9432-e8efc6cdf26e%40googlegroups.com.

Michael Orlitzky

unread,
May 19, 2020, 10:11:44 AM5/19/20
to sage-pa...@googlegroups.com
On 5/19/20 9:32 AM, Antonio Rojas wrote:
> Building with GCC 10 for the first time, I'm hitting this error:

There's a list of gcc-10.x blockers at,

https://trac.sagemath.org/ticket/29456

Antonio Rojas

unread,
May 19, 2020, 10:30:21 AM5/19/20
to sage-packaging


El martes, 19 de mayo de 2020, 15:32:07 (UTC+2), Antonio Rojas escribió:

Does anybody have a fix at hand?

OK, this turned out to be easy. Simply rebuilding the linbox stack with GCC 10 fixes it. 
Reply all
Reply to author
Forward
0 new messages