Hi,
I tried building with the latest Archlinux CUDA 12.9 + GCC14 and got the following error:
[ 12%] Building NVCC (Device) object CMakeFiles/xmrig-cu.dir/src/KawPow/raven/xmrig-cu_generated_KawPow.cu.o
/usr/lib/gcc/x86_64-pc-linux-gnu/14.3.1/include/c++/type_traits(1610): error: "__is_nothrow_new_constructible" is not a function or static data member
constexpr bool __is_nothrow_new_constructible
^
/usr/lib/gcc/x86_64-pc-linux-gnu/14.3.1/include/c++/type_traits(1610): error: "constexpr" is not valid here
constexpr bool __is_nothrow_new_constructible
I found a similar message with another project relating to the stdcxx version, and so changes the -std= flag to cxx-14 (from cxx-11 in cmake/flags.cmake) which resolved the above error but still produces the following:
[ 12%] Building NVCC (Device) object CMakeFiles/xmrig-cu.dir/src/KawPow/raven/xmrig-cu_generated_KawPow.cu.o
/usr/lib/gcc/x86_64-pc-linux-gnu/14.3.1/include/c++/type_traits:100:52: error: redefinition of ‘constexpr const _Tp std::integral_constant<_Tp, __v>::value’
100 | template<typename _Tp, _Tp __v>
| ^
/usr/lib/gcc/x86_64-pc-linux-gnu/14.3.1/include/c++/type_traits:89:29: note: ‘constexpr const _Tp value’ previously declared here
89 | static constexpr _Tp value = __v;
| ^~~~~
Unfortunately I'm unsure how to further resolve this, if there is anything further I can provide, please tell me. Thanks!
Hi,
I tried building with the latest Archlinux CUDA 12.9 + GCC14 and got the following error:
I found a similar message with another project relating to the stdcxx version, and so changes the
-std=flag tocxx-14(fromcxx-11incmake/flags.cmake) which resolved the above error but still produces the following:Unfortunately I'm unsure how to further resolve this, if there is anything further I can provide, please tell me. Thanks!