maintainer-approval requested: [Bug 291212] x11/nvidia-driver: CURRENT fails to load kernel module due to commit 9562994a7aacee2baae6ddee1a7b558b48ae39ef : [Attachment 265705] Patch to export required symbols

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
Tomoaki AOKI <[email protected]> has asked freebsd-x11 (Nobody)
<[email protected]> for maintainer-approval:
Bug 291212: x11/nvidia-driver: CURRENT fails to load kernel module due to
commit 9562994a7aacee2baae6ddee1a7b558b48ae39ef
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291212

Attachment 265705: Patch to export required symbols
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=265705&action=edit



--- Comment #14 from Tomoaki AOKI <[email protected]> ---
Created attachment 265705
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=265705&action=edit
Patch to export required symbols

Patch to export required symbols in nvidia.ko and nvidia-modeset.ko for their
consumers.
This would fix loading nvidia-drm.ko and nvidia-modeset.ko at least OPTION
LINUX is disabled (non-default) on x11/nvidia-kmod[-devel].

As my main branch (of base) environment is quite outdated, tested on stable/15
by intentionally set "debug.link_elf_obj_leak_locals=0" in /boot/loader.conf.

I think keeping OPTION LINUX enabled for main at commit base   
e00a781c216cb12603a0a71c9ca293dde3e06250 and later, but not tested.
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.