


























@ventureo Fixed, compiles fine now, thank you! So, just to make sure I understand correctly, was that caused by mold not actually being a "drop-in" replacement like the wiki said, or are there other factors at play here?
@Bugg4 You seems to have mold linker enabled in your CFLAGS, try to remove it and using simple ld from bintuils.
@Alekseus : libxnvctrl-580xx is a dependency for nvidia-580xx-settings. So if you try to install nvidia-580xx-settings it will also installed
I can't figure out what this package does(libxnvctrl-580xx). Is it similar to nvidia-580xx-settings? Should I install it if I'm using Wayland?
@ventureo I do have base-devel and GNU ld version 2.45.1 installed. The package still cannot compile, same error as below. Any idea why?
@Bugg4 You need to install base-devel package before trying to build any AUR package.
No luck nere, I'm getting a failed build because of
collect2: fatal error: cannot find ‘ld’
==> Making package: nvidia-580xx-settings 580.119.02-2 (mar 23 dic 2025, 15:00:17)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading nvidia-580xx-settings-580.119.02.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 1291k 100 1291k 0 0 2170k 0 --:--:-- --:--:-- --:--:-- 8155k
-> Found nvidia-settings-libxnvctrl_so.patch
==> Validating source files with sha512sums...
nvidia-580xx-settings-580.119.02.tar.gz ... Passed
nvidia-settings-libxnvctrl_so.patch ... Passed
==> Extracting sources...
-> Extracting nvidia-580xx-settings-580.119.02.tar.gz with bsdtar
==> Starting prepare()...
patching file src/Makefile
Hunk #1 succeeded at 334 (offset -11 lines).
patching file src/libXNVCtrl/xnvctrl.mk
Hunk #1 succeeded at 36 (offset -3 lines).
Hunk #2 succeeded at 49 (offset -3 lines).
==> Removing existing $pkgdir/ directory...
==> Starting build()...
make[1]: Entering directory '/tmp/makepkg/nvidia-580xx-settings/src/nvidia-settings-580.119.02/src'
cc -shared -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -ffat-lto-objects -fno-strict-aliasing -fno-omit-frame-pointer -Wformat=2 -Wno-unused-parameter -O2 -DNV_LINUX -DNV_X86_64 -DNV_ARCH_BITS=64 -I . -I image_data -I ../src/libXNVCtrl -I XF86Config-parser/.. -I libXNVCtrlAttributes -I xpm_data -I common-utils -I common-unix/virtual-resolutions -I out -I /usr/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -DPROGRAM_NAME=\"nvidia-settings\" -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -fuse-ld=mold -flto=auto -lX11 -Wl,-soname=libXNVCtrl.so.0 -o out/libXNVCtrl.so.0.0.0 out/NVCtrl.o -lXext -lX11
LINK out/nvidia-settings.unstripped
collect2: fatal error: cannot find ‘ld’
compilation terminated.
collect2: fatal error: cannot find ‘ld’
compilation terminated.
make[1]: *** [Makefile:322: out/nvidia-settings.unstripped] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [../src/libXNVCtrl/xnvctrl.mk:54: out/libXNVCtrl.so] Error 1
make[1]: Leaving directory '/tmp/makepkg/nvidia-580xx-settings/src/nvidia-settings-580.119.02/src'
make: *** [Makefile:23: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
@ventureo I also confirm that problem looks like fixed.
@ventureo I can confirm it works now. Both libxnvctrl-580xx and nvidia-580xx-settings can be installed with yay now. Thanks for looking into it. Much appreciated! I hope we can keep using our beloved hardware for much longer. Got a bit scared when they dropped support.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
I'm getting build errors relating to gtk. It's rather long so had to upload elsewhere: https://pastebin.com/k6tDqgst Here is a snippet: