Date: Mon, 20 Feb 2023 22:01:13 +0100 From: Mario Marietto <marietto2008@gmail.com> To: freebsd-bugs@freebsd.org Subject: fatal error: too many errors emitted, stopping now [-ferror-limit=] tryng to compile "drm-devel-kmod" Message-ID: <CA%2B1FSiiS88TSPN9KbE9yMMFqoMXxfb5pWRW2ThkGHeV0TUa36g@mail.gmail.com>
index | next in thread | raw e-mail
[-- Attachment #1 --]
Hello.
On FreeBSD 13.2-BETA I'm trying to compile "drm-devel-kmod",but it fails :
root@marietto:/usr/ports/graphics/drm-devel-kmod # make
MAKE_JOBS_UNSAFE=yes install clean
===> Building for drm-devel-kmod-5.7.19.g20220223
===> linuxkpi (all)
Warning: Object directory not changed from original
/usr/ports/graphics/drm-devel-kmod/work/drm-k
mod-drm_v5.7.19_3/linuxkpi
cc -O2 -pipe -fno-strict-aliasing '-DKBUILD_MODNAME="linuxkpi_gplv2"'
-DLINUXKPI_VERSION=50000 -
DCONFIG_DRM_AMDGPU_CIK -DCONFIG_DRM_AMDGPU_SI -DCONFIG_DRM_AMD_DC
-DCONFIG_DRM_AMD_DC_FBC -DCONFI
G_DRM_AMD_POWERPLAY -DCONFIG_DRM_I915_ALPHA_SUPPORT
-DCONFIG_DRM_I915_FORCE_PROBE='"*"' -DCONFIG_
DRM_I915_CAPTURE_ERROR -DCONFIG_DRM_I915_SPIN_REQUEST=5
-DCONFIG_DRM_I915_USERFAULT_AUTOSUSPEND=2
50 -DCONFIG_DRM_I915_STOP_TIMEOUT=100 -DCONFIG_DRM_I915_PREEMPT_TIMEOUT=640
-DCONFIG_DRM_I915_HEA
RTBEAT_INTERVAL=2500 -DCONFIG_DRM_I915_TIMESLICE_DURATION=1
-DCONFIG_DRM_I915_MAX_REQUEST_BUSYWAI
T=8000 -DCONFIG_DRM_MIPI_DSI -DCONFIG_DRM_PANEL_ORIENTATION_QUIRKS
-DCONFIG_DRM_FBDEV_EMULATION -
DCONFIG_DRM_FBDEV_OVERALLOC=100 -DCONFIG_DRM_LEGACY -DCONFIG_DRM_VM
-DCONFIG_ARCH_HAVE_NMI_SAFE_C
MPXCHG -DCONFIG_BACKLIGHT_CLASS_DEVICE -DCONFIG_DMI -DCONFIG_FB
-DCONFIG_MTRR -DCONFIG_PCI -DCONF
IG_PM -DCONFIG_SMP -DCONFIG_ACPI -DCONFIG_ACPI_SLEEP -DCONFIG_AGP
-DCONFIG_X86 -DCONFIG_X86_PAT -
DCONFIG_64BIT -DCONFIG_AS_MOVNTDQA -DCONFIG_COMPAT -DCONFIG_X86_64
-DCONFIG_DRM_AMD_DC_DCN -DCONF
IG_DRM_AMD_DC_DCN1_0 -DCONFIG_DRM_AMD_DC_DCN1_01 -DCONFIG_DRM_AMD_DC_DCN2_0
-DCONFIG_DRM_AMD_DC_D
CN2_1 -DCONFIG_DRM_AMD_DC_DSC_SUPPORT -Werror -D_KERNEL -DKLD_MODULE
-nostdinc -I/usr/ports/gra
phics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/include
-I/usr/ports/graphics/drm-devel-kmod/wor
k/drm-kmod-drm_v5.7.19_3/linuxkpi/dummy/include
-I/usr/ports/graphics/drm-devel-kmod/work/drm-kmo
d-drm_v5.7.19_3/linuxkpi/gplv2/include
-I/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.
7.19_3/linuxkpi/bsd/include -I/usr/src/sys/compat/linuxkpi/common/include
-include /usr/ports/gra
phics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/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 -fde
bug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/inc
lude -MD -MF.depend.linux_compat.o -MTlinux_compat.o -mcmodel=kernel
-mno-red-zone -mno-mmx
-mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -
Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith
-Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__
-Wmissing-include-dirs -fd
iagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare
-Wno-error=empty-body
-Wno-error=parentheses-equality -Wno-error=unused-function
-Wno-error=pointer-sign -Wno-error=sh
ift-negative-value -Wno-address-of-packed-member
-Wno-error=unused-but-set-variable -Wno-format-z
ero-length -Wno-pointer-arith -mno-aes -mno-avx -std=iso9899:1999 -c
/usr/ports/graphics/drm-d
evel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/src/linux_compat.c -o
linux_compat.o
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/src/linux_compat.c:9:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/idr.h:38:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/types.h:38:
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/compi
ler.h:107:24: error: redefinition of 'mul_u64_u32_div'
static inline uint64_t mul_u64_u32_div(uint64_t a, uint32_t mul, uint32_t
divisor)
^
/usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:104:1:
note: previous
definition is he
re
mul_u64_u32_div(uint64_t x, uint32_t y, uint32_t div)
^
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/src/linux_compat.c:9:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/idr.h:38:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/types.h:38:
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/compi
ler.h:134:24: error: redefinition of 'mul_u64_u32_shr'
static inline uint64_t mul_u64_u32_shr(uint64_t a, uint32_t mul, unsigned
int shift)
^
/usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:112:1:
note: previous
definition is he
re
mul_u64_u32_shr(uint64_t x, uint32_t y, unsigned int shift)
^
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/src/linux_compat.c:10:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/include/linux/pci.h:10:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:35:
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/io.h:
10:1: error: redefinition of 'arch_io_reserve_memtype_wc'
arch_io_reserve_memtype_wc(resource_size_t start, resource_size_t size)
^
/usr/src/sys/compat/linuxkpi/common/include/linux/io.h:524:1: note: previous
definition is here
arch_io_reserve_memtype_wc(resource_size_t start, resource_size_t size)
^
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/src/linux_compat.c:10:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/include/linux/pci.h:10:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:35:
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/io.h:
16:1: error: redefinition of 'arch_io_free_memtype_wc'
arch_io_free_memtype_wc(resource_size_t start, resource_size_t size)
^
/usr/src/sys/compat/linuxkpi/common/include/linux/io.h:531:1: note: previous
definition is here
arch_io_free_memtype_wc(resource_size_t start, resource_size_t size)
^
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/src/linux_compat.c:10:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/include/linux/pci.h:10:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:41:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd
/include/linux/mm.h:4:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/mm.h:36:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/spinlock.h:34:
/usr/src/sys/compat/linuxkpi/common/include/asm/atomic.h:334:1: error: expected
parameter declara
tor
atomic_fetch_inc(atomic_t *v)
^
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/compi
ler.h:91:30: note: expanded from macro 'atomic_fetch_inc'
#define atomic_fetch_inc(v) (atomic_inc_return(v) - 1)
^
/usr/src/sys/compat/linuxkpi/common/include/asm/atomic.h:50:49: note: expanded
from macro 'atomic
_inc_return'
#define atomic_inc_return(v) atomic_add_return(1, (v))
^
/usr/src/sys/compat/linuxkpi/common/include/asm/atomic.h:334:1: error: expected
')'
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/compi
ler.h:91:30: note: expanded from macro 'atomic_fetch_inc'
#define atomic_fetch_inc(v) (atomic_inc_return(v) - 1)
^
/usr/src/sys/compat/linuxkpi/common/include/asm/atomic.h:50:49: note: expanded
from macro 'atomic
_inc_return'
#define atomic_inc_return(v) atomic_add_return(1, (v))
^
/usr/src/sys/compat/linuxkpi/common/include/asm/atomic.h:334:1: note: to
match this '('
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/compi
ler.h:91:30: note: expanded from macro 'atomic_fetch_inc'
#define atomic_fetch_inc(v) (atomic_inc_return(v) - 1)
^
/usr/src/sys/compat/linuxkpi/common/include/asm/atomic.h:50:48: note: expanded
from macro 'atomic
_inc_return'
#define atomic_inc_return(v) atomic_add_return(1, (v))
^
/usr/src/sys/compat/linuxkpi/common/include/asm/atomic.h:334:1: error: expected
')'
atomic_fetch_inc(atomic_t *v)
^
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/compi
ler.h:91:51: note: expanded from macro 'atomic_fetch_inc'
#define atomic_fetch_inc(v) (atomic_inc_return(v) - 1)
^
/usr/src/sys/compat/linuxkpi/common/include/asm/atomic.h:334:1: note: to
match this '('
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/compi
ler.h:91:29: note: expanded from macro 'atomic_fetch_inc'
#define atomic_fetch_inc(v) (atomic_inc_return(v) - 1)
^
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/src/linux_compat.c:10:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/include/linux/pci.h:10:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:41:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd
/include/linux/mm.h:4:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/mm.h:36:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/spinlock.h:34:
/usr/src/sys/compat/linuxkpi/common/include/asm/atomic.h:334:1: error:
redefinition
of 'atomic_ad
d_return'
atomic_fetch_inc(atomic_t *v)
^
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/compi
ler.h:91:30: note: expanded from macro 'atomic_fetch_inc'
#define atomic_fetch_inc(v) (atomic_inc_return(v) - 1)
^
/usr/src/sys/compat/linuxkpi/common/include/asm/atomic.h:50:31: note: expanded
from macro 'atomic
_inc_return'
#define atomic_inc_return(v) atomic_add_return(1, (v))
^
/usr/src/sys/compat/linuxkpi/common/include/asm/atomic.h:60:1: note: previous
definition is here
atomic_add_return(int i, atomic_t *v)
^
/usr/src/sys/compat/linuxkpi/common/include/asm/atomic.h:337:29: error: use
of undeclared identif
ier 'v'
return ((atomic_inc_return(v) - 1));
^
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/src/linux_compat.c:10:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/include/linux/pci.h:10:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:41:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd
/include/linux/mm.h:4:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/mm.h:38:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd
/include/linux/kernel.h:4:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:50:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/include/linux/sched.h:4:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/sched.h:49:
/usr/src/sys/compat/linuxkpi/common/include/linux/string.h:210:1:
error: redefinition
of 'memset3
2'
memset32(uint32_t *b, uint32_t c, size_t len)
^
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/compi
ler.h:59:1: note: previous definition is here
memset32(uint32_t *s, uint32_t v, size_t count)
^
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/src/linux_compat.c:10:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/include/linux/pci.h:10:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:41:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd
/include/linux/mm.h:4:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/mm.h:38:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd
/include/linux/kernel.h:4:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:50:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/include/linux/sched.h:4:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/sched.h:49:
/usr/src/sys/compat/linuxkpi/common/include/linux/string.h:220:1:
error: redefinition
of 'memset6
4'
memset64(uint64_t *b, uint64_t c, size_t len)
^
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/compi
ler.h:69:1: note: previous definition is here
memset64(uint64_t *s, uint64_t v, size_t count)
^
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/src/linux_compat.c:10:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/include/linux/pci.h:10:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:41:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd
/include/linux/mm.h:4:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/mm.h:38:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd
/include/linux/kernel.h:4:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:50:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/include/linux/sched.h:4:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/sched.h:49:
/usr/src/sys/compat/linuxkpi/common/include/linux/string.h:230:1:
error: redefinition
of 'memset_
p'
memset_p(void **p, void *v, size_t n)
^
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/compi
ler.h:79:1: note: previous definition is here
memset_p(void **p, void *v, size_t n)
^
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/src/linux_compat.c:10:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/include/linux/pci.h:10:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:41:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd
/include/linux/mm.h:4:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/mm.h:38:
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd/include/linux/kernel.
h:9:9: error: 'add_taint' macro redefined [-Werror,-Wmacro-redefined]
#define add_taint(a,b)
^
/usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:684:9:
note: previous
definition is he
re
#define add_taint(x,y) do { \
^
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/src/linux_compat.c:10:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/include/linux/pci.h:10:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:41:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd
/include/linux/mm.h:4:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/mm.h:45:
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/asm/pgtable
.h:32:9: error: '_PAGE_PRESENT' macro redefined [-Werror,-Wmacro-redefined]
#define _PAGE_PRESENT (_AT(pteval_t, 1) << _PAGE_BIT_PRESENT)
^
/usr/src/sys/compat/linuxkpi/common/include/asm/pgtable.h:53:9: note: previous
definition is here
#define _PAGE_PRESENT (((pteval_t) 1) << _PAGE_BIT_PRESENT)
^
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/src/linux_compat.c:10:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/include/linux/pci.h:10:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:41:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd
/include/linux/mm.h:4:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/mm.h:45:
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/asm/pgtable
.h:33:9: error: '_PAGE_RW' macro redefined [-Werror,-Wmacro-redefined]
#define _PAGE_RW (_AT(pteval_t, 1) << _PAGE_BIT_RW)
^
/usr/src/sys/compat/linuxkpi/common/include/asm/pgtable.h:54:9: note: previous
definition is here
#define _PAGE_RW (((pteval_t) 1) << _PAGE_BIT_RW)
^
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/src/linux_compat.c:10:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/include/linux/pci.h:10:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:41:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd
/include/linux/mm.h:4:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/mm.h:45:
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/asm/pgtable
.h:35:9: error: '_PAGE_PWT' macro redefined [-Werror,-Wmacro-redefined]
#define _PAGE_PWT (_AT(pteval_t, 1) << _PAGE_BIT_PWT)
^
/usr/src/sys/compat/linuxkpi/common/include/asm/pgtable.h:55:9: note: previous
definition is here
#define _PAGE_PWT (((pteval_t) 1) << _PAGE_BIT_PWT)
^
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/src/linux_compat.c:10:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/include/linux/pci.h:10:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:41:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd
/include/linux/mm.h:4:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/mm.h:45:
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/asm/pgtable
.h:36:9: error: '_PAGE_PCD' macro redefined [-Werror,-Wmacro-redefined]
#define _PAGE_PCD (_AT(pteval_t, 1) << _PAGE_BIT_PCD)
^
/usr/src/sys/compat/linuxkpi/common/include/asm/pgtable.h:56:9: note: previous
definition is here
#define _PAGE_PCD (((pteval_t) 1) << _PAGE_BIT_PCD)
^
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/src/linux_compat.c:10:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/include/linux/pci.h:10:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:41:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd
/include/linux/mm.h:4:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/mm.h:45:
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/asm/pgtable
.h:43:9: error: '_PAGE_PAT' macro redefined [-Werror,-Wmacro-redefined]
#define _PAGE_PAT (_AT(pteval_t, 1) << _PAGE_BIT_PAT)
^
/usr/src/sys/compat/linuxkpi/common/include/asm/pgtable.h:57:9: note: previous
definition is here
#define _PAGE_PAT (((pteval_t) 1) << _PAGE_BIT_PAT)
^
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/src/linux_compat.c:10:
In file included from
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl
v2/include/linux/pci.h:10:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
In file included from
/usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:41:
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd/include/linux/mm.h:7:
1: error: redefinition of 'trylock_page'
trylock_page(struct page *page)
^
/usr/src/sys/compat/linuxkpi/common/include/linux/mm.h:293:1: note: previous
definition is here
trylock_page(struct page *page)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
*** Error code 1
Stop.
make[3]: stopped in
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi
*** Error code 1
Stop.
make[2]: stopped in
/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/graphics/drm-devel-kmod
*** Error code 1
Stop.
make: stopped in /usr/ports/graphics/drm-devel-kmod
--
Mario.
[-- Attachment #2 --]
<div dir="ltr"><div><span style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:arial,sans-serif">Hello.</span></div><div><span style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:arial,sans-serif"><br></span></div><div><span style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:arial,sans-serif">On FreeBSD 13.2-BETA I'm trying to compile "drm-devel-kmod",but it fails :</span></div><div><span style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:arial,sans-serif"><br></span></div><div><span style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:arial,sans-serif">root@marietto:/usr/ports/graphics/drm-devel-kmod # make MAKE_JOBS_UNSAFE=yes install clean</span></div><div><span style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:arial,sans-serif"><br>
</span></div><span style="font-family:arial,sans-serif">===> Building for drm-devel-kmod-5.7.19.g20220223
<br>===> linuxkpi (all)
<br>Warning: Object directory not changed from original /usr/ports/graphics/drm-devel-kmod/work/drm-k<br>mod-drm_v5.7.19_3/linuxkpi
<br>cc -O2 -pipe -fno-strict-aliasing '-DKBUILD_MODNAME="linuxkpi_gplv2"' -DLINUXKPI_VERSION=50000 -<br>DCONFIG_DRM_AMDGPU_CIK -DCONFIG_DRM_AMDGPU_SI -DCONFIG_DRM_AMD_DC -DCONFIG_DRM_AMD_DC_FBC -DCONFI<br>G_DRM_AMD_POWERPLAY -DCONFIG_DRM_I915_ALPHA_SUPPORT -DCONFIG_DRM_I915_FORCE_PROBE='"*"' -DCONFIG_<br>DRM_I915_CAPTURE_ERROR -DCONFIG_DRM_I915_SPIN_REQUEST=5 -DCONFIG_DRM_I915_USERFAULT_AUTOSUSPEND=2<br>50 -DCONFIG_DRM_I915_STOP_TIMEOUT=100 -DCONFIG_DRM_I915_PREEMPT_TIMEOUT=640 -DCONFIG_DRM_I915_HEA<br>RTBEAT_INTERVAL=2500 -DCONFIG_DRM_I915_TIMESLICE_DURATION=1 -DCONFIG_DRM_I915_MAX_REQUEST_BUSYWAI<br>T=8000 -DCONFIG_DRM_MIPI_DSI -DCONFIG_DRM_PANEL_ORIENTATION_QUIRKS -DCONFIG_DRM_FBDEV_EMULATION -<br>DCONFIG_DRM_FBDEV_OVERALLOC=100 -DCONFIG_DRM_LEGACY -DCONFIG_DRM_VM -DCONFIG_ARCH_HAVE_NMI_SAFE_C<br>MPXCHG -DCONFIG_BACKLIGHT_CLASS_DEVICE -DCONFIG_DMI -DCONFIG_FB -DCONFIG_MTRR -DCONFIG_PCI -DCONF<br>IG_PM -DCONFIG_SMP -DCONFIG_ACPI -DCONFIG_ACPI_SLEEP -DCONFIG_AGP -DCONFIG_X86 -DCONFIG_X86_PAT -<br>DCONFIG_64BIT -DCONFIG_AS_MOVNTDQA -DCONFIG_COMPAT -DCONFIG_X86_64 -DCONFIG_DRM_AMD_DC_DCN -DCONF<br>IG_DRM_AMD_DC_DCN1_0 -DCONFIG_DRM_AMD_DC_DCN1_01 -DCONFIG_DRM_AMD_DC_DCN2_0 -DCONFIG_DRM_AMD_DC_D<br>CN2_1 -DCONFIG_DRM_AMD_DC_DSC_SUPPORT -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/ports/gra<br>phics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/include -I/usr/ports/graphics/drm-devel-kmod/wor<br>k/drm-kmod-drm_v5.7.19_3/linuxkpi/dummy/include -I/usr/ports/graphics/drm-devel-kmod/work/drm-kmo<br>d-drm_v5.7.19_3/linuxkpi/gplv2/include -I/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.<br>7.19_3/linuxkpi/bsd/include -I/usr/src/sys/compat/linuxkpi/common/include -include /usr/ports/gra<br>phics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/opt_global.h -I. -I/usr/src/sys -I/usr/<br>src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fde<br>bug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/inc<br>lude -MD -MF.depend.linux_compat.o -MTlinux_compat.o -mcmodel=kernel -mno-red-zone -mno-mmx <br>-mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -<br>Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith <br>-Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fd<br>iagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body<br> -Wno-error=parentheses-equality -Wno-error=unused-function -Wno-error=pointer-sign -Wno-error=sh<br>ift-negative-value -Wno-address-of-packed-member -Wno-error=unused-but-set-variable -Wno-format-z<br>ero-length -Wno-pointer-arith -mno-aes -mno-avx -std=iso9899:1999 -c /usr/ports/graphics/drm-d<br>evel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/src/linux_compat.c -o linux_compat.o
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/src/linux_compat.c:9:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/idr.h:38:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/types.h:38:
<br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/compi</span><br>ler.h:107:24: <span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">redefinition of 'mul_u64_u32_div'</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>static inline uint64_t mul_u64_u32_div(uint64_t a, uint32_t mul, uint32_t divisor)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"> ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:104:1: </span><span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">previous definition is he</span><br>re
<br>mul_u64_u32_div(uint64_t x, uint32_t y, uint32_t div)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/src/linux_compat.c:9:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/idr.h:38:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/types.h:38:
<br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/compi</span><br>ler.h:134:24: <span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">redefinition of 'mul_u64_u32_shr'</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>static inline uint64_t mul_u64_u32_shr(uint64_t a, uint32_t mul, unsigned int shift)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"> ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/linux/math64.h:112:1: </span><span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">previous definition is he</span><br>re
<br>mul_u64_u32_shr(uint64_t x, uint32_t y, unsigned int shift)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/src/linux_compat.c:10:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/include/linux/pci.h:10:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:35:
<br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/io.h:</span><br>10:1: <span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">redefinition of 'arch_io_reserve_memtype_wc'</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>arch_io_reserve_memtype_wc(resource_size_t start, resource_size_t size)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/linux/io.h:524:1: </span><span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">previous definition is here</span><br>
<br>arch_io_reserve_memtype_wc(resource_size_t start, resource_size_t size)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/src/linux_compat.c:10:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/include/linux/pci.h:10:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:35:
<br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/io.h:</span><br>16:1: <span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">redefinition of 'arch_io_free_memtype_wc'</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>arch_io_free_memtype_wc(resource_size_t start, resource_size_t size)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/linux/io.h:531:1: </span><span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">previous definition is here</span><br>
<br>arch_io_free_memtype_wc(resource_size_t start, resource_size_t size)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/src/linux_compat.c:10:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/include/linux/pci.h:10:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:41:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd<br>/include/linux/mm.h:4:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/mm.h:36:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/spinlock.h:34:
<br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/asm/atomic.h:334:1: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">expected parameter declara</span><br>tor<span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>atomic_fetch_inc(atomic_t *v)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/compi</span><br>ler.h:91:30: <span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">expanded from macro 'atomic_fetch_inc'
</span><br>#define atomic_fetch_inc(v) (atomic_inc_return(v) - 1)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"> ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/asm/atomic.h:50:49: </span><span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">expanded from macro 'atomic</span><br>_inc_return'
<br>#define atomic_inc_return(v) atomic_add_return(1, (v))
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"> ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/asm/atomic.h:334:1: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">expected ')'</span><br><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/compi</span><br>ler.h:91:30: <span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">expanded from macro 'atomic_fetch_inc'
</span><br>#define atomic_fetch_inc(v) (atomic_inc_return(v) - 1)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"> ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/asm/atomic.h:50:49: </span><span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">expanded from macro 'atomic</span><br>_inc_return'
<br>#define atomic_inc_return(v) atomic_add_return(1, (v))
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"> ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/asm/atomic.h:334:1: </span><span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">to match this '('</span><br>
<br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/compi</span><br>ler.h:91:30: <span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">expanded from macro 'atomic_fetch_inc'
</span><br>#define atomic_fetch_inc(v) (atomic_inc_return(v) - 1)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"> ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/asm/atomic.h:50:48: </span><span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">expanded from macro 'atomic</span><br>_inc_return'
<br>#define atomic_inc_return(v) atomic_add_return(1, (v))
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"> ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/asm/atomic.h:334:1: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">expected ')'</span><br><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>atomic_fetch_inc(atomic_t *v)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/compi</span><br>ler.h:91:51: <span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">expanded from macro 'atomic_fetch_inc'
</span><br>#define atomic_fetch_inc(v) (atomic_inc_return(v) - 1)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"> ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/asm/atomic.h:334:1: </span><span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">to match this '('</span><br>
<br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/compi</span><br>ler.h:91:29: <span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">expanded from macro 'atomic_fetch_inc'
</span><br>#define atomic_fetch_inc(v) (atomic_inc_return(v) - 1)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"> ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/src/linux_compat.c:10:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/include/linux/pci.h:10:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:41:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd<br>/include/linux/mm.h:4:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/mm.h:36:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/spinlock.h:34:
<br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/asm/atomic.h:334:1: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">redefinition of 'atomic_ad</span><br>d_return'<span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>atomic_fetch_inc(atomic_t *v)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/compi</span><br>ler.h:91:30: <span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">expanded from macro 'atomic_fetch_inc'
</span><br>#define atomic_fetch_inc(v) (atomic_inc_return(v) - 1)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"> ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/asm/atomic.h:50:31: </span><span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">expanded from macro 'atomic</span><br>_inc_return'
<br>#define atomic_inc_return(v) atomic_add_return(1, (v))
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"> ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/asm/atomic.h:60:1: </span><span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">previous definition is here</span><br>
<br>atomic_add_return(int i, atomic_t *v)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/asm/atomic.h:337:29: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">use of undeclared identif</span><br>ier 'v'<span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br> return ((atomic_inc_return(v) - 1));
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"> ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/src/linux_compat.c:10:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/include/linux/pci.h:10:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:41:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd<br>/include/linux/mm.h:4:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/mm.h:38:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd<br>/include/linux/kernel.h:4:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:50:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/include/linux/sched.h:4:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/sched.h:49:
<br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/linux/string.h:210:1: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">redefinition of 'memset3</span><br>2'<span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>memset32(uint32_t *b, uint32_t c, size_t len)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/compi</span><br>ler.h:59:1: <span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">previous definition is here
</span><br>memset32(uint32_t *s, uint32_t v, size_t count)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/src/linux_compat.c:10:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/include/linux/pci.h:10:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:41:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd<br>/include/linux/mm.h:4:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/mm.h:38:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd<br>/include/linux/kernel.h:4:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:50:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/include/linux/sched.h:4:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/sched.h:49:
<br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/linux/string.h:220:1: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">redefinition of 'memset6</span><br>4'<span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>memset64(uint64_t *b, uint64_t c, size_t len)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/compi</span><br>ler.h:69:1: <span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">previous definition is here
</span><br>memset64(uint64_t *s, uint64_t v, size_t count)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/src/linux_compat.c:10:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/include/linux/pci.h:10:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:41:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd<br>/include/linux/mm.h:4:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/mm.h:38:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd<br>/include/linux/kernel.h:4:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:50:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/include/linux/sched.h:4:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/sched.h:49:
<br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/linux/string.h:230:1: </span><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">redefinition of 'memset_</span><br>p'<span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>memset_p(void **p, void *v, size_t n)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/linux/compi</span><br>ler.h:79:1: <span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">previous definition is here
</span><br>memset_p(void **p, void *v, size_t n)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/src/linux_compat.c:10:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/include/linux/pci.h:10:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:41:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd<br>/include/linux/mm.h:4:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/mm.h:38:
<br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd/include/linux/kernel.</span><br>h:9:9: <span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">'add_taint' macro redefined [-Werror,-Wmacro-redefined]</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>#define add_taint(a,b)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"> ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/linux/kernel.h:684:9: </span><span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">previous definition is he</span><br>re
<br>#define add_taint(x,y) do { \
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"> ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/src/linux_compat.c:10:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/include/linux/pci.h:10:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:41:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd<br>/include/linux/mm.h:4:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/mm.h:45:
<br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/asm/pgtable</span><br>.h:32:9: <span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">'_PAGE_PRESENT' macro redefined [-Werror,-Wmacro-redefined]</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>#define _PAGE_PRESENT (_AT(pteval_t, 1) << _PAGE_BIT_PRESENT)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"> ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/asm/pgtable.h:53:9: </span><span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">previous definition is here</span><br>
<br>#define _PAGE_PRESENT (((pteval_t) 1) << _PAGE_BIT_PRESENT)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"> ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/src/linux_compat.c:10:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/include/linux/pci.h:10:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:41:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd<br>/include/linux/mm.h:4:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/mm.h:45:
<br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/asm/pgtable</span><br>.h:33:9: <span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">'_PAGE_RW' macro redefined [-Werror,-Wmacro-redefined]</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>#define _PAGE_RW (_AT(pteval_t, 1) << _PAGE_BIT_RW)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"> ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/asm/pgtable.h:54:9: </span><span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">previous definition is here</span><br>
<br>#define _PAGE_RW (((pteval_t) 1) << _PAGE_BIT_RW)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"> ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/src/linux_compat.c:10:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/include/linux/pci.h:10:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:41:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd<br>/include/linux/mm.h:4:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/mm.h:45:
<br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/asm/pgtable</span><br>.h:35:9: <span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">'_PAGE_PWT' macro redefined [-Werror,-Wmacro-redefined]</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>#define _PAGE_PWT (_AT(pteval_t, 1) << _PAGE_BIT_PWT)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"> ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/asm/pgtable.h:55:9: </span><span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">previous definition is here</span><br>
<br>#define _PAGE_PWT (((pteval_t) 1) << _PAGE_BIT_PWT)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"> ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/src/linux_compat.c:10:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/include/linux/pci.h:10:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:41:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd<br>/include/linux/mm.h:4:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/mm.h:45:
<br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/asm/pgtable</span><br>.h:36:9: <span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">'_PAGE_PCD' macro redefined [-Werror,-Wmacro-redefined]</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>#define _PAGE_PCD (_AT(pteval_t, 1) << _PAGE_BIT_PCD)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"> ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/asm/pgtable.h:56:9: </span><span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">previous definition is here</span><br>
<br>#define _PAGE_PCD (((pteval_t) 1) << _PAGE_BIT_PCD)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"> ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/src/linux_compat.c:10:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/include/linux/pci.h:10:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:41:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd<br>/include/linux/mm.h:4:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/mm.h:45:
<br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gplv2/include/asm/pgtable</span><br>.h:43:9: <span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">'_PAGE_PAT' macro redefined [-Werror,-Wmacro-redefined]</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>#define _PAGE_PAT (_AT(pteval_t, 1) << _PAGE_BIT_PAT)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"> ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/asm/pgtable.h:57:9: </span><span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">previous definition is here</span><br>
<br>#define _PAGE_PAT (((pteval_t) 1) << _PAGE_BIT_PAT)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)"> ^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/src/linux_compat.c:10:
<br>In file included from /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/gpl<br>v2/include/linux/pci.h:10:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/pci.h:55:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/dmapool.h:36:
<br>In file included from /usr/src/sys/compat/linuxkpi/common/include/linux/scatterlist.h:41:
<br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi/bsd/include/linux/mm.h:7:</span><br>1: <span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">redefinition of 'trylock_page'</span><br><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>trylock_page(struct page *page)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">/usr/src/sys/compat/linuxkpi/common/include/linux/mm.h:293:1: </span><span style="font-weight:bold;color:rgb(104,104,104);background-color:rgb(255,255,255)">note: </span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">previous definition is here
</span><br>trylock_page(struct page *page)
<br><span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">^</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br><span style="font-weight:bold;color:rgb(255,84,84);background-color:rgb(255,255,255)">fatal error: </span><span style="font-weight:bold;color:rgb(0,0,0);background-color:rgb(255,255,255)">too many errors emitted, stopping now [-ferror-limit=]</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">
</span><br>20 errors generated.
<br>*** Error code 1
<br>
<br>Stop.
<br>make[3]: stopped in /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3/linuxkpi
<br>*** Error code 1
<br>
<br>Stop.
<br>make[2]: stopped in /usr/ports/graphics/drm-devel-kmod/work/drm-kmod-drm_v5.7.19_3
<br>*** Error code 1
<br>
<br>Stop.
<br>make[1]: stopped in /usr/ports/graphics/drm-devel-kmod
<br>*** Error code 1
<br>
<br>Stop.
<br>make: stopped in /usr/ports/graphics/drm-devel-kmod<font color="#888888"><font color="#888888"><br></font></font></span><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Mario.<br></div></div>
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSiiS88TSPN9KbE9yMMFqoMXxfb5pWRW2ThkGHeV0TUa36g>
