@hv15 I was building on a GTX780 for testing purposes which uses 11.4 Cuda version, but I installed the latest 12.* Cuda package on the system.
Will remove everything, install 11.* Cuda and update if that worked
But just a heads up as I do not think that was the issue as after building on RTX3080 with latest CUDA i got the same undefined symbol: blake256_hash
error.
Hoping for a random missing library or a package 🤞
UPDATE:
Replacing -fno-lto
flag with -ffat-lto-objects
links libraries but uses LTO which is required for the blake256_hash to build. Currently on RTX3080 machine I was able to build xmrig-cuda
and use it with this.
Apologies @hv15 for not investigating more at first
GTX780 not successful
diff --git a/PKGBUILD b/PKGBUILD
index 9afa5d1..33f5ac4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,7 +24,7 @@ prepare () {
build() {
cd "${pkgname}-${pkgver}"
- cmake -DCMAKE_CXX_FLAGS="-fno-lto" -DCMAKE_C_COMPILER=/opt/cuda/bin/gcc -DCMAKE_CXX_COMPILER=/opt/cuda/bin/g++ -S . -B build
+ cmake -DCMAKE_CXX_FLAGS="-ffat-lto-objects" -DCMAKE_C_COMPILER=/opt/cuda/bin/gcc -DCMAKE_CXX_COMPILER=/opt/cuda/bin/g++ -S . -B build
cmake --build build
}
Pinned Comments
hv15 commented on 2022-10-14 16:33 (UTC)
Hi all, I no longer use this package and have no interest in maintaining it. Before disowning it I'd ideally like to make someone a co-maintainer. Please reach out if you're interested. Thanks!