Bug#1006962: nvidia-cuda-toolkit: nvcc chokes on g++ 11.2's bits/std_function.h

Andreas Beckmann anbe at debian.org
Wed Oct 5 00:58:45 BST 2022


Followup-For: Bug #1006962
Control: fixed -1 11.6.1-1

This seems to be resolved in 11.6.1, except for some new problems in the
<coroutines> header, but I'll ignore that (unless it also shows up in
some rdepends).

/usr/include/c++/11/coroutine:294:23: error: default member initializer for 'std::__n4861::coroutine_handle<std::__n4861::noop_coroutine_promise>::__frame::__r' required before the end of its enclosing class
  294 |       static __frame _S_fr;
      |                       ^~~~~
/usr/include/c++/11/coroutine:289:26: note: defined here
  289 |         void (*__r)() = __dummy_resume_destroy;
      |                          ^~~~~~~~~~~~~~~~~~~~~~   
/usr/include/c++/11/coroutine:294:23: error: default member initializer for 'std::__n4861::coroutine_handle<std::__n4861::noop_coroutine_promise>::__frame::__d' required before the end of its enclosing class
  294 |       static __frame _S_fr;
      |                       ^~~~~
/usr/include/c++/11/coroutine:290:26: note: defined here
  290 |         void (*__d)() = __dummy_resume_destroy;
      |                          ^~~~~~~~~~~~~~~~~~~~~~   
/usr/include/c++/11/coroutine:304:60: error: redefinition of 'std::__n4861::coroutine_handle<std::__n4861::noop_coroutine_promise>::__frame std::__n4861::coroutine_handle<std::__n4861::noop_coroutine_promise>::_S_fr'
  304 |   noop_coroutine_handle::_S_fr{};
      |                                                            ^                    
/usr/include/c++/11/coroutine:294:23: note: 'std::__n4861::coroutine_handle<std::__n4861::noop_coroutine_promise>::__frame std::__n4861::coroutine_handle<std::__n4861::noop_coroutine_promise>::_S_fr' previously declared here
  294 |       static __frame _S_fr;
      |                       ^~~~~


Andreas



More information about the pkg-nvidia-devel mailing list