https://bugzilla.suse.com/show_bug.cgi?id=1223344 Bug ID: 1223344 Summary: NVidia driver fails to link when using mold Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: X11 Applications Assignee: screening-team-bugs@suse.de Reporter: christophe@krop.fr QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- The NVidia driver silently fails to build when using the mold linker: # ll /etc/alternatives/ld lrwxrwxrwx 1 root root 16 11 avril 01:02 /etc/alternatives/ld -> /usr/bin/ld.mold mold: fatal: scripts/module.lds:1: SECTIONS { ^ unknown linker script token mold: fatal: scripts/module.lds:1: SECTIONS { ^ unknown linker script token make[4]: *** [/usr/src/linux-6.8.7-1/scripts/Makefile.modfinal:56: /usr/src/kernel-modules/nvidia-550.67-default/nvidia-uvm.ko] Error 1 make[4]: *** Waiting for unfinished jobs.... mold: fatal: scripts/module.lds:1: SECTIONS { ^ unknown linker script token make[4]: *** [/usr/src/linux-6.8.7-1/scripts/Makefile.modfinal:56: /usr/src/kernel-modules/nvidia-550.67-default/nvidia-drm.ko] Error 1 mold: fatal: scripts/module.lds:1: SECTIONS { ^ unknown linker script token make[4]: *** [/usr/src/linux-6.8.7-1/scripts/Makefile.modfinal:56: /usr/src/kernel-modules/nvidia-550.67-default/nvidia-peermem.ko] Error 1 make[4]: *** [/usr/src/linux-6.8.7-1/scripts/Makefile.modfinal:56: /usr/src/kernel-modules/nvidia-550.67-default/nvidia.ko] Error 1 mold: fatal: scripts/module.lds:1: SECTIONS { ^ unknown linker script token make[4]: *** [/usr/src/linux-6.8.7-1/scripts/Makefile.modfinal:56: /usr/src/kernel-modules/nvidia-550.67-default/nvidia-modeset.ko] Error 1 make[3]: *** [/usr/src/linux-6.8.7-1/Makefile:1871: modules] Error 2 make[2]: *** [/usr/src/linux-6.8.7-1/Makefile:240: __sub-make] Error 2 make[2]: Leaving directory '/usr/src/linux-6.8.7-1-obj/x86_64/default' make[1]: *** [Makefile:240: __sub-make] Error 2 make[1]: Leaving directory '/usr/src/linux-6.8.7-1' make: *** [Makefile:85: modules] Error 2 -- You are receiving this mail because: You are on the CC list for the bug.