[Bug 288236] x11/nvidia-driver: nvidia_subr.c:1456:15: error: use of undeclared identifier 'DMAP_MIN_ADDRESS'
Date: Thu, 17 Jul 2025 02:26:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288236
--- Comment #17 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/ports/commit/?id=9302fb05a0c6599bbe8963ff5201fd3b99994535
commit 9302fb05a0c6599bbe8963ff5201fd3b99994535
Author: Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
AuthorDate: 2025-07-17 02:21:13 +0000
Commit: Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2025-07-17 02:25:26 +0000
x11/nvidia-driver: Fix build after kva_layout
Commit 4dd828c808286 on main branch of src removed 2 macros,
DMAP_MIN_ADDRESS and DMAP_MAX_ADDRESS and require to use variables
(members of struct) kva_layout.dmap_low and kva_layout.dmap_high
respectively.
This broke builds of x11/nvidia-driver[-304|-340|-390|-470|-devel].
And the change is not planned for MFC (POLA violation).
Fix build by using new variables conditionally.
As there are around 10 days between usable latest bump at base
65ed1a035ceb8 and base 4dd828c808286, there are broken time window.
PR: 288236
Reviewed by: ashafer, kib
x11/nvidia-driver/Makefile | 9 +++++++++
1 file changed, 9 insertions(+)
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.