Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Jun 2018 07:17:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 228778] graphics/drm-next-kmod: drm.h:65:18: error: redefinition of typedef '__kernel_size_t' is a C11 feature
Message-ID:  <bug-228778-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228778

            Bug ID: 228778
           Summary: graphics/drm-next-kmod: drm.h:65:18: error:
                    redefinition of typedef '__kernel_size_t' is a C11
                    feature
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: jmd@freebsd.org
          Reporter: ohartmann@walstatt.org
          Assignee: jmd@freebsd.org
             Flags: maintainer-feedback?(jmd@freebsd.org)

Build host is CURRENT (12.0-CURRENT #8 r334442: Thu May 31 19:37:04 CEST 20=
18
amd64), the error ocurs also on several other CURRENT hosts, also on those =
with
revision r334704. The ports tree is at recent state, this moment, it is at
revision 471827.

[...]
--- drm_atomic_helper.o ---
cc  -O2 -pipe -march=3Dnative -fno-strict-aliasing '-DKBUILD_MODNAME=3D"drm=
"'
-include
/usr/ports/graphics/drm-next-kmod/work/kms-drm-3f50a1b/drm/drm_os_config.h
-march=3Dnative  -Werror -D_KERNEL -DKLD_MODULE -nostdinc=20
-I/usr/ports/graphics/drm-next-kmod/work/kms-drm-3f50a1b/linuxkpi/dummy/inc=
lude
-I/usr/ports/graphics/drm-next-kmod/work/kms-drm-3f50a1b/linuxkpi/gplv2/inc=
lude
-I/usr/src/sys/compat/linuxkpi/common/include
-I/usr/ports/graphics/drm-next-kmod/work/kms-drm-3f50a1b/drm
-I/usr/ports/graphics/drm-next-kmod/work/kms-drm-3f50a1b/drm/ttm
-I/usr/ports/graphics/drm-next-kmod/work/kms-drm-3f50a1b/include
-I/usr/ports/graphics/drm-next-kmod/work/kms-drm-3f50a1b/include/drm
-I/usr/ports/graphics/drm-next-kmod/work/kms-drm-3f50a1b/include/uapi
-I/usr/ports/graphics/drm-next-kmod/work/kms-drm-3f50a1b -I. -I/usr/src/sys
-I/usr/src/sys/contrib/ck/include -fno-common  -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer   -MD  -MF.depend.drm_atomic_helper.o
-MTdrm_atomic_helper.o -mcmodel=3Dkernel -mno-red-zone -mno-mmx -mno-sse
-msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv
-fstack-protector -Wno-pointer-arith -Wno-pointer-sign -Wno-format
-Wno-expansion-to-defined  -mno-aes -mno-avx  -std=3Diso9899:1999 -c
drm_atomic_helper.c -o drm_atomic_helper.o
--- ati_pcigart.o ---
In file included from ati_pcigart.c:35:
--- drm_atomic.o ---
In file included from drm_atomic.c:29:
In file included from
/usr/ports/graphics/drm-next-kmod/work/kms-drm-3f50a1b/include/drm/drmP.h:1=
23:
/usr/ports/graphics/drm-next-kmod/work/kms-drm-3f50a1b/include/uapi/drm/drm=
.h:65:18:
error: redefinition of typedef '__kernel_size_t' is a C11 feature
[-Werror,-Wtypedef-redefinition]
--- ati_pcigart.o ---
In file included from
/usr/ports/graphics/drm-next-kmod/work/kms-drm-3f50a1b/include/drm/drmP.h:1=
23:
/usr/ports/graphics/drm-next-kmod/work/kms-drm-3f50a1b/include/uapi/drm/drm=
.h:65:18:
error: redefinition of typedef '__kernel_size_t' is a C11 feature
[-Werror,-Wtypedef-redefinition]
typedef size_t   __kernel_size_t;
--- drm_atomic.o ---
typedef size_t   __kernel_size_t;
                 ^
/usr/src/sys/compat/linuxkpi/common/include/linux/types.h:65:16: note: prev=
ious
definition is here
--- drm_agpsupport.o ---
In file included from drm_agpsupport.c:34:
In file included from
/usr/ports/graphics/drm-next-kmod/work/kms-drm-3f50a1b/include/drm/drmP.h:1=
23:
/usr/ports/graphics/drm-next-kmod/work/kms-drm-3f50a1b/include/uapi/drm/drm=
.h:65:18:
error: redefinition of typedef '__kernel_size_t' is a C11 feature
[-Werror,-Wtypedef-redefinition]
--- drm_atomic.o ---
typedef size_t __kernel_size_t;

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228778-7788>