maintainer-feedback requested: [Bug 251163] graphics/drm-fbsd12.0-kmod fails to build on FreeBSD-stable

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Nov 15 17:38:54 UTC 2020


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-x11 (Nobody)
<x11 at FreeBSD.org> for maintainer-feedback:
Bug 251163: graphics/drm-fbsd12.0-kmod fails to build on FreeBSD-stable
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251163



--- Description ---
I'm on FreeBSD 12.2-PRERELEASE r364926 amd64 now.
Lately graphics/drm-fbsd12.0-kmod stopped to build with errors like this:

--- ttm_agp_backend.o ---
In file included from
/usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-99da0ba/drivers/gpu/drm/ttm/
ttm_agp_backend.c:35:
In file included from
/usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-99da0ba/include/drm/ttm/ttm_
bo_driver.h:37:
In file included from
/usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-99da0ba/include/drm/drmP.h:1
39:
/usr/ports/graphics/drm-fbsd12.0-kmod/work/kms-drm-99da0ba/drivers/gpu/drm/drm_
os_freebsd.h:124:9:
error: 'IS_ALIGNED' macro redefined [-Werror,-Wmacro-redefined]
#define IS_ALIGNED(x, y)	(((x) & ((y) - 1)) == 0)
	^
/usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:138:9: note:
previous definition is here


More information about the freebsd-x11 mailing list