[Bug 291542] graphics/drm-66-kmod: build error: intel_freebsd.c:61:6: error: incompatible pointer to integer conversion
| Newsgroups | gmane.os.freebsd.devel.x11 |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291542
Bug ID: 291542
Summary: graphics/drm-66-kmod: build error:
intel_freebsd.c:61:6: error: incompatible pointer to
integer conversion
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: [email protected]
Reporter: [email protected]
Assignee: [email protected]
Flags: maintainer-feedback?([email protected])
On CURRENT (FreeBSD 16.0-CURRENT #3 master-n282442-cf39b51d36d8: Tue Dec 9
19:27:59 CET 2025, ports tree up to date as of now) with /etc/src.conf driven
build of port graphics/drm-66-kmod fails to build for stay-in-sync with
ABI/API, the port graphics/drm-66-kmod fails to build, see error below.
[...]
_v6.6.25_7/drivers/gpu
-I/usr/obj/usr/src/amd64.amd64/sys/THOR/usr/ports/graphics/drm-66-kmod/work/drm-kmod-drm_v6.6.25_7/drivers/gpu/drm/i915
-I/usr/obj/usr/src/amd64.amd64/sys/THOR/usr/ports/graphics/drm-66-kmod/work/drm-kmod-drm_v6.6.25_7/drivers/gpu/drm/i915/display
-include
/usr/obj/usr/src/amd64.amd64/sys/THOR/usr/ports/graphics/drm-66-kmod/work/drm-kmod-drm_v6.6.25_7/obj/usr/obj/usr/src/amd64.amd64/sys/THOR/usr/ports/graphics/drm-66-kmod/work/drm-kmod-drm_v6.6.25_7/i915/opt_global.h
-I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include
-fdebug-prefix-map=./i386=/usr/src/sys/i386/include -MD
-MF.depend.intel_quirks.o -MTintel_quirks.o -mcmodel=kernel -mno-red-zone
-mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas -Wswitch
-Wno-error=tautological-compare -Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=shift-negative-value
-Wno-address-of-packed-member -Wno-format-zero-length -Wno-pointer-arith
-Wno-format -Wno-cast-qual -mno-aes -mno-avx -std=gnu17 -c
/usr/obj/usr/src/amd64.amd64/sys/THOR/usr/ports/graphics/drm-66-kmod/work/drm-kmod-drm_v6.6.25_7/drivers/gpu/drm/i915/display/intel_quirks.c
-o intel_quirks.o
--- intel_freebsd.o ---
/usr/obj/usr/src/amd64.amd64/sys/THOR/usr/ports/graphics/drm-66-kmod/work/drm-kmod-drm_v6.6.25_7/drivers/gpu/drm/i915/intel_freebsd.c:61:6:
error: incompatible pointer to integer conversion passing 'int *' to parameter
of type 'int'; dereference with * [-Wint-conversion]
61 | rid, 0, ~0UL, size, RF_ACTIVE | RF_SHAREABLE);
| ^~~
| *
./bus_if.h:321:58: note: passing argument to parameter '_rid' here
321 | int _rid,
| ^
1 error generated.
*** [intel_freebsd.o] Error code 1
--
You are receiving this mail because:
You are the assignee for the bug.