Github messages for voidlinux
 help / color / mirror / Atom feed
From: akarelas <akarelas@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: Nvidia kernel module fails to build on linux 6.7.3
Date: Mon, 05 Feb 2024 17:45:32 +0100	[thread overview]
Message-ID: <20240205164532.6F90823D5A@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48504@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 2365 bytes --]

New comment by akarelas on void-packages repository

https://github.com/void-linux/void-packages/issues/48504#issuecomment-1927429101

Comment:
This also happens with linux kernel 6.6.15 (linux6.6-6.6.15_):

```
[user@voidvm build]$ tail -n 20 /var/lib/dkms/nvidia/535.154.05/build/make.log
/var/lib/dkms/nvidia/535.154.05/build/nvidia.o: warning: objtool: _nv038952rm+0x9d: 'naked' return found in RETHUNK build
/var/lib/dkms/nvidia/535.154.05/build/nvidia.o: warning: objtool: _nv038954rm+0x77: 'naked' return found in RETHUNK build
/var/lib/dkms/nvidia/535.154.05/build/nvidia.o: warning: objtool: _nv038898rm+0x7f: 'naked' return found in RETHUNK build
/var/lib/dkms/nvidia/535.154.05/build/nvidia.o: warning: objtool: _nv030487rm+0x3e: 'naked' return found in RETHUNK build
/var/lib/dkms/nvidia/535.154.05/build/nvidia.o: warning: objtool: _nv030486rm+0x27: 'naked' return found in RETHUNK build
/var/lib/dkms/nvidia/535.154.05/build/nvidia.o: warning: objtool: _nv030490rm+0x37: 'naked' return found in RETHUNK build
/var/lib/dkms/nvidia/535.154.05/build/nvidia.o: warning: objtool: _nv030489rm+0x24: 'naked' return found in RETHUNK build
/var/lib/dkms/nvidia/535.154.05/build/nvidia.o: warning: objtool: _nv030488rm+0xca: 'naked' return found in RETHUNK build
/var/lib/dkms/nvidia/535.154.05/build/nvidia.o: warning: objtool: _nv030491rm+0x193: 'naked' return found in RETHUNK build
/var/lib/dkms/nvidia/535.154.05/build/nvidia.o: warning: objtool: _nv030493rm+0x17f: 'naked' return found in RETHUNK build
/var/lib/dkms/nvidia/535.154.05/build/nvidia.o: warning: objtool: _nv011850rm+0x5d: 'naked' return found in RETHUNK build
/var/lib/dkms/nvidia/535.154.05/build/nvidia.o: warning: objtool: _nv039265rm+0x12f: 'naked' return found in RETHUNK build
  MODPOST /var/lib/dkms/nvidia/535.154.05/build/Module.symvers
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_unlock'
ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__rcu_read_lock'
make[3]: *** [scripts/Makefile.modpost:145: /var/lib/dkms/nvidia/535.154.05/build/Module.symvers] Error 1
make[2]: *** [/usr/src/kernel-headers-6.6.15_1/Makefile:1865: modpost] Error 2
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/kernel-headers-6.6.15_1'
make: *** [Makefile:82: modules] Error 2
```

  parent reply	other threads:[~2024-02-05 16:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-03  6:33 [ISSUE] " HO5DTOAT
2024-02-05 16:43 ` akarelas
2024-02-05 16:45 ` akarelas [this message]
2024-02-05 16:46 ` akarelas
2024-02-05 17:17 ` classabbyamp
2024-02-06  1:54 ` abenson
2024-02-06 14:51 ` [ISSUE] [CLOSED] " HO5DTOAT
2024-02-06 14:51 ` HO5DTOAT

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240205164532.6F90823D5A@inbox.vuxu.org \
    --to=akarelas@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).