@SycoLTH Sorry, I can't reproduce the error message... what version of CUDA do you have? Have you tried building in a chroot?
Search Criteria
Package Details: xmrig-cuda 6.22.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/xmrig-cuda.git (read-only, click to copy) |
---|---|
Package Base: | xmrig-cuda |
Description: | NVIDIA CUDA plugin for XMRig miner. |
Upstream URL: | https://github.com/xmrig/xmrig-cuda |
Keywords: | cryptocurrency gpu miner monero |
Licenses: | GPL-3.0-or-later |
Submitter: | hv15 |
Maintainer: | hv15 |
Last Packager: | hv15 |
Votes: | 6 |
Popularity: | 0.000000 |
First Submitted: | 2019-11-14 12:06 (UTC) |
Last Updated: | 2024-08-27 20:27 (UTC) |
Dependencies (6)
- cuda (cuda11.1AUR, cuda-12.2AUR, cuda12.0AUR, cuda11.4AUR, cuda11.4-versionedAUR, cuda12.0-versionedAUR)
- xmrig (xmrig-donateless-gitAUR, xmrig-c3-binAUR, xmrig-donatelessAUR)
- cmake (cmake-gitAUR) (make)
- cuda (cuda11.1AUR, cuda-12.2AUR, cuda12.0AUR, cuda11.4AUR, cuda11.4-versionedAUR, cuda12.0-versionedAUR) (make)
- openssl (openssl-gitAUR, openssl-staticAUR) (make)
- monero (monero-gui-static-binAUR) (optional) – wallet
Required by (0)
Sources (2)
hv15 commented on 2024-02-23 16:21 (UTC)
SycoLTH commented on 2024-02-22 15:10 (UTC)
any fix for this error?
[100%] Linking CXX shared library libxmrig-cuda.so
/usr/src/debug/xmrig-cuda/xmrig-cuda-6.17.0/src/CudaCryptonightR_gen.cpp:58:8: warning: type ‘struct CacheEntry’ violates the C++ One Definition Rule [-Wodr]
/usr/src/debug/xmrig-cuda/xmrig-cuda-6.17.0/src/KawPow/raven/CudaKawPow_gen.cpp:13:8: note: a different type is defined in another translation unit
/usr/src/debug/xmrig-cuda/xmrig-cuda-6.17.0/src/CudaCryptonightR_gen.cpp:68:14: note: the first difference of corresponding definitions is field ‘height’
/usr/src/debug/xmrig-cuda/xmrig-cuda-6.17.0/src/KawPow/raven/CudaKawPow_gen.cpp:23:14: note: a field with different name is defined in another translation unit
{standard input}: Assembler messages:
{standard input}:196834: Error: symbol `fatbinData' is already defined
{standard input}:566882: Error: symbol `fatbinData' is already defined
{standard input}:651485: Error: symbol `fatbinData' is already defined
{standard input}:736253: Error: symbol `fatbinData' is already defined
{standard input}:820846: Error: symbol `fatbinData' is already defined
{standard input}:905474: Error: symbol `fatbinData' is already defined
{standard input}:905658: Error: symbol `fatbinData' is already defined
{standard input}:990114: Error: symbol `fatbinData' is already defined
{standard input}:1049674: Error: symbol `fatbinData' is already defined
{standard input}:1114637: Error: symbol `fatbinData' is already defined
make[3]: *** [/tmp/ccfKTTQp.mk:2: /tmp/ccgHFwZw.ltrans0.ltrans.o] Error 1
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/xmrig-cuda.dir/build.make:150: libxmrig-cuda.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:111: CMakeFiles/xmrig-cuda.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
hv15 commented on 2023-08-30 08:15 (UTC)
@Moebius14, I'm able to build fine in a chroot, what version of gcc are you using?
Moebius14 commented on 2023-08-25 22:14 (UTC)
Build failed until I disabled link time optimization by adding -fno-lto
to the compiler flags.
hv15 commented on 2023-05-08 13:00 (UTC)
@gary9872: thanks for reporting, I've applied a workaround, but upstream will be pushing a fix later some point.
gary9872 commented on 2023-05-07 00:32 (UTC)
USE GCC 12 as gcc 13 doesn't work atm. (float 32 errors)
Modify PKGBUILD : cmake line to include -DCUDA_ARCH=<your gpu compute level> (COMPUTE_35 not supported error)
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!
hv15 commented on 2021-09-05 08:11 (UTC)
Hi @dragonek93, thank you for the full log. This seems to be some new quick with GCC11 --- I'm still using GCC10 with CUDA, which is why I wasn't getting the error message.
@julio.b, thank you for the patch, I've include it in the latest revision! I've also submitted at patch upstream so that this gets resolved properly.
julio.b commented on 2021-09-04 22:24 (UTC)
I had the same issue. http://ix.io/3xX7 i applied this patch and now it builds without any errors
dragonek93 commented on 2021-09-04 20:28 (UTC)
https://pastebin.com/8JXqVFDg ok this is full output
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!