Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2019 20:20:43 -0400
From:      Michael Butler <imb@protected-networks.net>
To:        freebsd-current <freebsd-current@freebsd.org>
Cc:        hselasky@freebsd.org
Subject:   SVN r345102 breaks drm-current-kmod
Message-ID:  <d487efc5-3f83-6cb6-d29b-37168be1d6af@protected-networks.net>

next in thread | raw e-mail | index | archive | help
As below ..

--- drm_atomic_helper.o ---
In file included from
/usr/ports/graphics/drm-current-kmod/work/kms-drm-78e51d0/drivers/gpu/drm/drm_atomic_helper.c:28:
In file included from
/usr/ports/graphics/drm-current-kmod/work/kms-drm-78e51d0/include/drm/drmP.h:139:
/usr/ports/graphics/drm-current-kmod/work/kms-drm-78e51d0/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:133:9: note:
previous definition is here
#define IS_ALIGNED(x, a)        (((x) & ((__typeof(x))(a) - 1)) == 0)
        ^
--- drm_atomic.o ---
In file included from
/usr/ports/graphics/drm-current-kmod/work/kms-drm-78e51d0/drivers/gpu/drm/drm_atomic.c:29:
In file included from
/usr/ports/graphics/drm-current-kmod/work/kms-drm-78e51d0/include/drm/drmP.h:139:
/usr/ports/graphics/drm-current-kmod/work/kms-drm-78e51d0/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:133:9: note:
previous definition is here
#define IS_ALIGNED(x, a)        (((x) & ((__typeof(x))(a) - 1)) == 0)
        ^
--- drm_atomic_helper.o ---
1 error generated.
*** [drm_atomic_helper.o] Error code 1

make[3]: stopped in
/usr/ports/graphics/drm-current-kmod/work/kms-drm-78e51d0/drm

	imb




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d487efc5-3f83-6cb6-d29b-37168be1d6af>