Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gentoo gcc-11.2.1 cuda-toolkit-11.6.0 and xmrig-cuda latest git version fail to build #154

Open
custom82 opened this issue Feb 15, 2022 · 9 comments

Comments

@custom82
Copy link

[3/17] cd /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/AstroBWT/dero && /usr/bin/cmake -E make_directory /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/AstroBWT/dero/. && /usr/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Gentoo -D generated_file:STRING=/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/AstroBWT/dero/./xmrig-cu_generated_AstroBWT.cu.o -D generated_cubin_file:STRING=/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/AstroBWT/dero/./xmrig-cu_generated_AstroBWT.cu.o.cubin.txt -P /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/AstroBWT/dero/xmrig-cu_generated_AstroBWT.cu.o.Gentoo.cmake
FAILED: CMakeFiles/xmrig-cu.dir/src/AstroBWT/dero/xmrig-cu_generated_AstroBWT.cu.o /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/AstroBWT/dero/xmrig-cu_generated_AstroBWT.cu.o
cd /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/AstroBWT/dero && /usr/bin/cmake -E make_directory /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/AstroBWT/dero/. && /usr/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Gentoo -D generated_file:STRING=/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/AstroBWT/dero/./xmrig-cu_generated_AstroBWT.cu.o -D generated_cubin_file:STRING=/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/AstroBWT/dero/./xmrig-cu_generated_AstroBWT.cu.o.cubin.txt -P /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/AstroBWT/dero/xmrig-cu_generated_AstroBWT.cu.o.Gentoo.cmake
/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’
CMake Error at xmrig-cu_generated_AstroBWT.cu.o.Gentoo.cmake:282 (message):
Error generating file
/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/AstroBWT/dero/./xmrig-cu_generated_AstroBWT.cu.o

[4/17] cd /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/RandomX/monero && /usr/bin/cmake -E make_directory /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/RandomX/monero/. && /usr/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Gentoo -D generated_file:STRING=/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/RandomX/monero/./xmrig-cu_generated_randomx_monero.cu.o -D generated_cubin_file:STRING=/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/RandomX/monero/./xmrig-cu_generated_randomx_monero.cu.o.cubin.txt -P /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/RandomX/monero/xmrig-cu_generated_randomx_monero.cu.o.Gentoo.cmake
[5/17] cd /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/RandomX/wownero && /usr/bin/cmake -E make_directory /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/RandomX/wownero/. && /usr/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Gentoo -D generated_file:STRING=/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/RandomX/wownero/./xmrig-cu_generated_randomx_wownero.cu.o -D generated_cubin_file:STRING=/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/RandomX/wownero/./xmrig-cu_generated_randomx_wownero.cu.o.cubin.txt -P /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/RandomX/wownero/xmrig-cu_generated_randomx_wownero.cu.o.Gentoo.cmake
/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/RandomX/randomx_cuda.hpp(319): warning #186-D: pointless comparison of unsigned integer with zero

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/RandomX/randomx_cuda.hpp(319): warning #186-D: pointless comparison of unsigned integer with zero

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/RandomX/randomx_cuda.hpp(319): warning #186-D: pointless comparison of unsigned integer with zero

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/RandomX/randomx_cuda.hpp(319): warning #186-D: pointless comparison of unsigned integer with zero

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/RandomX/randomx_cuda.hpp(319): warning #186-D: pointless comparison of unsigned integer with zero

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/RandomX/randomx_cuda.hpp(319): warning #186-D: pointless comparison of unsigned integer with zero

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/RandomX/randomx_cuda.hpp(319): warning #186-D: pointless comparison of unsigned integer with zero

[6/17] cd /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/RandomX/graft && /usr/bin/cmake -E make_directory /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/RandomX/graft/. && /usr/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Gentoo -D generated_file:STRING=/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/RandomX/graft/./xmrig-cu_generated_randomx_graft.cu.o -D generated_cubin_file:STRING=/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/RandomX/graft/./xmrig-cu_generated_randomx_graft.cu.o.cubin.txt -P /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/RandomX/graft/xmrig-cu_generated_randomx_graft.cu.o.Gentoo.cmake
[7/17] cd /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/RandomX/arqma && /usr/bin/cmake -E make_directory /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/RandomX/arqma/. && /usr/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Gentoo -D generated_file:STRING=/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/RandomX/arqma/./xmrig-cu_generated_randomx_arqma.cu.o -D generated_cubin_file:STRING=/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/RandomX/arqma/./xmrig-cu_generated_randomx_arqma.cu.o.cubin.txt -P /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/RandomX/arqma/xmrig-cu_generated_randomx_arqma.cu.o.Gentoo.cmake
[8/17] cd /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/RandomX/keva && /usr/bin/cmake -E make_directory /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/RandomX/keva/. && /usr/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Gentoo -D generated_file:STRING=/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/RandomX/keva/./xmrig-cu_generated_randomx_keva.cu.o -D generated_cubin_file:STRING=/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/RandomX/keva/./xmrig-cu_generated_randomx_keva.cu.o.cubin.txt -P /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/RandomX/keva/xmrig-cu_generated_randomx_keva.cu.o.Gentoo.cmake
[9/17] cd /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src && /usr/bin/cmake -E make_directory /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/. && /usr/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Gentoo -D generated_file:STRING=/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/./xmrig-cu_generated_cuda_core.cu.o -D generated_cubin_file:STRING=/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/./xmrig-cu_generated_cuda_core.cu.o.cubin.txt -P /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/xmrig-cu_generated_cuda_core.cu.o.Gentoo.cmake
/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(510): warning #1444-D: function "int_as_float"
/opt/cuda/include/crt/device_functions.hpp(135): here was declared deprecated ("int_as_float() is deprecated in favor of __int_as_float() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(548): warning #1444-D: function "int2float"
/opt/cuda/include/crt/device_functions.hpp(180): here was declared deprecated ("int2float() is deprecated in favor of __int2float_ru|_rd|_rn|_rz() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(549): warning #1444-D: function "float_as_int"
/opt/cuda/include/crt/device_functions.hpp(130): here was declared deprecated ("float_as_int() is deprecated in favor of __float_as_int() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(549): warning #1444-D: function "int_as_float"
/opt/cuda/include/crt/device_functions.hpp(135): here was declared deprecated ("int_as_float() is deprecated in favor of __int_as_float() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(550): warning #1444-D: function "float_as_int"
/opt/cuda/include/crt/device_functions.hpp(130): here was declared deprecated ("float_as_int() is deprecated in favor of __float_as_int() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(550): warning #1444-D: function "int_as_float"
/opt/cuda/include/crt/device_functions.hpp(135): here was declared deprecated ("int_as_float() is deprecated in favor of __int_as_float() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(641): warning #1444-D: function "float_as_int"
/opt/cuda/include/crt/device_functions.hpp(130): here was declared deprecated ("float_as_int() is deprecated in favor of __float_as_int() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(510): warning #1444-D: function "int_as_float"
/opt/cuda/include/crt/device_functions.hpp(135): here was declared deprecated ("int_as_float() is deprecated in favor of __int_as_float() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(548): warning #1444-D: function "int2float"
/opt/cuda/include/crt/device_functions.hpp(180): here was declared deprecated ("int2float() is deprecated in favor of __int2float_ru|_rd|_rn|_rz() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(549): warning #1444-D: function "float_as_int"
/opt/cuda/include/crt/device_functions.hpp(130): here was declared deprecated ("float_as_int() is deprecated in favor of __float_as_int() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(549): warning #1444-D: function "int_as_float"
/opt/cuda/include/crt/device_functions.hpp(135): here was declared deprecated ("int_as_float() is deprecated in favor of __int_as_float() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(550): warning #1444-D: function "float_as_int"
/opt/cuda/include/crt/device_functions.hpp(130): here was declared deprecated ("float_as_int() is deprecated in favor of __float_as_int() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(550): warning #1444-D: function "int_as_float"
/opt/cuda/include/crt/device_functions.hpp(135): here was declared deprecated ("int_as_float() is deprecated in favor of __int_as_float() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(641): warning #1444-D: function "float_as_int"
/opt/cuda/include/crt/device_functions.hpp(130): here was declared deprecated ("float_as_int() is deprecated in favor of __float_as_int() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(510): warning #1444-D: function "int_as_float"
/opt/cuda/include/crt/device_functions.hpp(135): here was declared deprecated ("int_as_float() is deprecated in favor of __int_as_float() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(548): warning #1444-D: function "int2float"
/opt/cuda/include/crt/device_functions.hpp(180): here was declared deprecated ("int2float() is deprecated in favor of __int2float_ru|_rd|_rn|_rz() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(549): warning #1444-D: function "float_as_int"
/opt/cuda/include/crt/device_functions.hpp(130): here was declared deprecated ("float_as_int() is deprecated in favor of __float_as_int() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(549): warning #1444-D: function "int_as_float"
/opt/cuda/include/crt/device_functions.hpp(135): here was declared deprecated ("int_as_float() is deprecated in favor of __int_as_float() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(550): warning #1444-D: function "float_as_int"
/opt/cuda/include/crt/device_functions.hpp(130): here was declared deprecated ("float_as_int() is deprecated in favor of __float_as_int() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(550): warning #1444-D: function "int_as_float"
/opt/cuda/include/crt/device_functions.hpp(135): here was declared deprecated ("int_as_float() is deprecated in favor of __int_as_float() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(641): warning #1444-D: function "float_as_int"
/opt/cuda/include/crt/device_functions.hpp(130): here was declared deprecated ("float_as_int() is deprecated in favor of __float_as_int() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(510): warning #1444-D: function "int_as_float"
/opt/cuda/include/crt/device_functions.hpp(135): here was declared deprecated ("int_as_float() is deprecated in favor of __int_as_float() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(548): warning #1444-D: function "int2float"
/opt/cuda/include/crt/device_functions.hpp(180): here was declared deprecated ("int2float() is deprecated in favor of __int2float_ru|_rd|_rn|_rz() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(549): warning #1444-D: function "float_as_int"
/opt/cuda/include/crt/device_functions.hpp(130): here was declared deprecated ("float_as_int() is deprecated in favor of __float_as_int() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(549): warning #1444-D: function "int_as_float"
/opt/cuda/include/crt/device_functions.hpp(135): here was declared deprecated ("int_as_float() is deprecated in favor of __int_as_float() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(550): warning #1444-D: function "float_as_int"
/opt/cuda/include/crt/device_functions.hpp(130): here was declared deprecated ("float_as_int() is deprecated in favor of __float_as_int() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(550): warning #1444-D: function "int_as_float"
/opt/cuda/include/crt/device_functions.hpp(135): here was declared deprecated ("int_as_float() is deprecated in favor of __int_as_float() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(641): warning #1444-D: function "float_as_int"
/opt/cuda/include/crt/device_functions.hpp(130): here was declared deprecated ("float_as_int() is deprecated in favor of __float_as_int() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(510): warning #1444-D: function "int_as_float"
/opt/cuda/include/crt/device_functions.hpp(135): here was declared deprecated ("int_as_float() is deprecated in favor of __int_as_float() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(548): warning #1444-D: function "int2float"
/opt/cuda/include/crt/device_functions.hpp(180): here was declared deprecated ("int2float() is deprecated in favor of __int2float_ru|_rd|_rn|_rz() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(549): warning #1444-D: function "float_as_int"
/opt/cuda/include/crt/device_functions.hpp(130): here was declared deprecated ("float_as_int() is deprecated in favor of __float_as_int() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(549): warning #1444-D: function "int_as_float"
/opt/cuda/include/crt/device_functions.hpp(135): here was declared deprecated ("int_as_float() is deprecated in favor of __int_as_float() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(550): warning #1444-D: function "float_as_int"
/opt/cuda/include/crt/device_functions.hpp(130): here was declared deprecated ("float_as_int() is deprecated in favor of __float_as_int() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(550): warning #1444-D: function "int_as_float"
/opt/cuda/include/crt/device_functions.hpp(135): here was declared deprecated ("int_as_float() is deprecated in favor of __int_as_float() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(641): warning #1444-D: function "float_as_int"
/opt/cuda/include/crt/device_functions.hpp(130): here was declared deprecated ("float_as_int() is deprecated in favor of __float_as_int() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(510): warning #1444-D: function "int_as_float"
/opt/cuda/include/crt/device_functions.hpp(135): here was declared deprecated ("int_as_float() is deprecated in favor of __int_as_float() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(548): warning #1444-D: function "int2float"
/opt/cuda/include/crt/device_functions.hpp(180): here was declared deprecated ("int2float() is deprecated in favor of __int2float_ru|_rd|_rn|_rz() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(549): warning #1444-D: function "float_as_int"
/opt/cuda/include/crt/device_functions.hpp(130): here was declared deprecated ("float_as_int() is deprecated in favor of __float_as_int() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(549): warning #1444-D: function "int_as_float"
/opt/cuda/include/crt/device_functions.hpp(135): here was declared deprecated ("int_as_float() is deprecated in favor of __int_as_float() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(550): warning #1444-D: function "float_as_int"
/opt/cuda/include/crt/device_functions.hpp(130): here was declared deprecated ("float_as_int() is deprecated in favor of __float_as_int() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(550): warning #1444-D: function "int_as_float"
/opt/cuda/include/crt/device_functions.hpp(135): here was declared deprecated ("int_as_float() is deprecated in favor of __int_as_float() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_core.cu(641): warning #1444-D: function "float_as_int"
/opt/cuda/include/crt/device_functions.hpp(130): here was declared deprecated ("float_as_int() is deprecated in favor of __float_as_int() and may be removed in a future release (Use -Wno-deprecated-declarations to suppress this warning).")
detected during instantiation of "void cryptonight_core_gpu_hash(nvid_ctx *, uint32_t) [with ALGO=xmrig_cuda::Algorithm::CN_0]"
(849): here

[10/17] cd /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src && /usr/bin/cmake -E make_directory /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/. && /usr/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Gentoo -D generated_file:STRING=/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/./xmrig-cu_generated_cuda_extra.cu.o -D generated_cubin_file:STRING=/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/./xmrig-cu_generated_cuda_extra.cu.o.cubin.txt -P /var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999_build/CMakeFiles/xmrig-cu.dir/src/xmrig-cu_generated_cuda_extra.cu.o.Gentoo.cmake
/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_extra.cu: In function ‘void cryptonight_extra_cpu_prepare(nvid_ctx*, uint32_t, const xmrig_cuda::Algorithm&)’:
/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_extra.cu:415:170: warning: passing argument 5 to ‘restrict’-qualified parameter aliases with argument 6 [-Wrestrict]
415 | CUDA_CHECK_KERNEL(ctx->device_id, cryptonight_extra_gpu_prepareAlgorithm::CN_0<<<grid, block >>>(wsize, ctx->d_input, ctx->inputlen, startNonce,
| ^
/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_extra.cu: In function ‘int cuda_get_deviceinfo(nvid_ctx*)’:
/var/tmp/portage/net-misc/xmrig-cuda-9999/work/xmrig-cuda-9999/src/cuda_extra.cu:571:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare]
571 | if (ctx->device_blocks > max_blocks) {
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
ninja: build stopped: subcommand failed.
xmrig-cuda-9999.log

@Spudz76
Copy link
Contributor

Spudz76 commented Feb 16, 2022

Actually says you're building against CUDA 11.5:

-- Found CUDA: /opt/cuda (found suitable version "11.5", minimum required is "8.0") 

The real error is:

/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 ‘...’:

All other spew are known warnings, I have a patch already for all the (int2float,float_as_int,int_as_float) warnings.

@Spudz76
Copy link
Contributor

Spudz76 commented Feb 16, 2022

#155 is the patch for all those annoying warnings

@custom82
Copy link
Author

yes, I had 11.5 then I updated to 11.6 but still gives the same error

@custom82
Copy link
Author

i have applied your patch but another error
xmrig-cuda-9999.log

@Spudz76
Copy link
Contributor

Spudz76 commented Feb 16, 2022

Found reference to this on nvidia developer forums but no answers there yet either. Error is within gcc 11.2.1 system header file.

If possible build with slightly older gcc, or workaround by using clang

CUDA 11.6 docs say 11.2.1 is supported on Fedora 35, and I could find no reference to <functional> but something else must be including it downstream.

@custom82
Copy link
Author

i checked the .run for fedora 35 it is the same one that is installed on gentoo so most likely it is a big bug of cuda or gcc 11.2 is not yet supported

@Spudz76
Copy link
Contributor

Spudz76 commented Feb 16, 2022

Testing on Debian Sid with 11.2.0 since I already have a system with that, just to see how that goes, maybe it will crash the same.

@Spudz76
Copy link
Contributor

Spudz76 commented Feb 16, 2022

Same crash for 11.2.0, thus confirming all 11.2.x bad.

The GPU-side of the file compiles fine and then the error is from host-side pass.

ptxas info    : Used 44 registers, 600 bytes smem, 352 bytes cmem[0]
/usr/include/c++/11/bits/std_function.h:435:145: error: parameter packs not expanded with ‘...’:
  435 |         function(_Functor&& __f)
      |                                                                                                                                                 ^
/usr/include/c++/11/bits/std_function.h:435:145: note:         ‘_ArgTypes’
/usr/include/c++/11/bits/std_function.h:530:146: error: parameter packs not expanded with ‘...’:
  530 |         operator=(_Functor&& __f)
      |                                                                                                                                                  ^
/usr/include/c++/11/bits/std_function.h:530:146: note:         ‘_ArgTypes’
-- Removing /usr/src/xmrig-cuda/build/cuda116/CMakeFiles/xmrig-cu.dir/src/AstroBWT/dero/./xmrig-cu_generated_AstroBWT.cu.o
/usr/bin/cmake -E remove /usr/src/xmrig-cuda/build/cuda116/CMakeFiles/xmrig-cu.dir/src/AstroBWT/dero/./xmrig-cu_generated_AstroBWT.cu.o
CMake Error at xmrig-cu_generated_AstroBWT.cu.o.Release.cmake:279 (message):
  Error generating file
  /usr/src/xmrig-cuda/build/cuda116/CMakeFiles/xmrig-cu.dir/src/AstroBWT/dero/./xmrig-cu_generated_AstroBWT.cu.o


make[2]: *** [CMakeFiles/xmrig-cu.dir/build.make:131: CMakeFiles/xmrig-cu.dir/src/AstroBWT/dero/xmrig-cu_generated_AstroBWT.cu.o] Error 1
make[2]: Leaving directory '/usr/src/xmrig-cuda/build/cuda116'
make[1]: *** [CMakeFiles/Makefile2:112: CMakeFiles/xmrig-cu.dir/all] Error 2
make[1]: Leaving directory '/usr/src/xmrig-cuda/build/cuda116'
make: *** [Makefile:87: all] Error 2

@custom82
Copy link
Author

with cuda 11.6.1 build fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants