Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Nov 2020 17:38:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 251163] graphics/drm-fbsd12.0-kmod fails to build on FreeBSD-stable
Message-ID:  <bug-251163-7141-6YbeAV69NR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251163-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251163-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-x11 (Nobody)
<x11@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=3D251163



--- 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)) =3D=3D 0)
	^
/usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:138:9: note:
previous definition is here



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251163-7141-6YbeAV69NR>