Summary: | sci-libs/flann-1.9.1-r3[cuda] fails to compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Miroslav Šulc <fordfrog> |
Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | fatzer2, leonchik1976, tom |
Priority: | Normal | Keywords: | STABLE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Miroslav Šulc
2021-12-13 10:23:05 UTC
It looks like a yet another CUDA/gcc incompatibility issue: i.e. dev-util/nvidia-cuda-toolkit-11.6.0 can't properly work with sys-devel/gcc-11.2.*. In this case it fails for any program that includes <functional>. For example: cat >test.cu <<EOF #include <functional> int main(void) { } EOF nvcc test.cu Fails with the same result: /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/bits/std_function.h:435:145: error: parameter packs not expanded with '...': 435 | function(_Functor&& __f) | ^ /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/bits/std_function.h:435:145: note: '_ArgTypes' /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/bits/std_function.h:530:146: error: parameter packs not expanded with '...': 530 | operator=(_Functor&& __f) | ^ /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/include/g++-v11/bits/std_function.h:530:146: note: '_ArgTypes' -------------------- I've asked the question on the nvidia forum: https://forums.developer.nvidia.com/t/cuda-11-6-0-with-gcc-11-2-1-fails-to-process-system-headers-included-by-functional/203556 Looks like the problem is fixed in cuda-11.6.2 same issue with sci-libs/flann-1.9.1-r5 |