[Bug 291212] x11/nvidia-driver: CURRENT fails to load kernel module due to commit 9562994a7aacee2baae6ddee1a7b558b48ae39ef

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291212

--- Comment #20 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=1587486a39ecf579cc59f878a75faef823441e2b

commit 1587486a39ecf579cc59f878a75faef823441e2b
Author:     Tomoaki AOKI <[email protected]>
AuthorDate: 2026-01-03 10:30:29 +0000
Commit:     Kevin Bowling <[email protected]>
CommitDate: 2026-01-03 10:30:29 +0000

    x11/nvidia-kmod{-devel}: Export required symbols

    When kernel linker disables local symbol resolution, kernel modules
    that require local symbols in other kernel modules, which are not
    explicitly exported, stops to be loaded.

    This behavior was turned on by default on main branch of src
    at commit base 9562994a7aacee2baae6ddee1a7b558b48ae39ef.

    Export local symbols in nvidia.ko for nvidia-modeset.ko and
    in nvidia-modeset.ko for nvidia-drm.ko.

    PR:             291212
    Reviewed by:    adrian (previous version), emaste (previous version, imp
    Differential Revision:  https://reviews.freebsd.org/D53987

 .../files/extra-patch-src-Makefile-2.in (new)          | 18 ++++++++++++++++++
 x11/nvidia-kmod-devel/Makefile                         |  2 +-
 x11/nvidia-kmod/Makefile                               | 12 +++++++++++-
 3 files changed, 30 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.