[Bug 209924] 11.0 -r300944 buildkernel via amd64-gcc fails for: .../dev/drm2/i915/dvo_ch7xxx.c related redundant declarations

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jun 1 09:04:41 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209924

            Bug ID: 209924
           Summary: 11.0 -r300944 buildkernel via amd64-gcc fails for:
                    .../dev/drm2/i915/dvo_ch7xxx.c related redundant
                    declarations
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: markmi at dsl-only.net
                CC: freebsd-amd64 at FreeBSD.org
                CC: freebsd-amd64 at FreeBSD.org

[This was after locally clearing up some cxgb and cxgbe source issues.]

--- all_subdir_drm2/i915kms ---
In file included from
/usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/intel_drv.h:31:0,
                from
/usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/dvo.h:35,
                from
/usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/dvo_ch7xxx.c:32:
/usr/src/sys/dev/drm2/i915/i915_drv.h:1621:6: error: redundant redeclaration of
'i915_gem_dump_object' [-Werror=redundant-decls]
void i915_gem_dump_object(struct drm_i915_gem_object *obj, int len,
     ^
/usr/src/sys/dev/drm2/i915/i915_drv.h:1612:6: note: previous declaration of
'i915_gem_dump_object' was here
void i915_gem_dump_object(struct drm_i915_gem_object *obj, int len,
     ^
In file included from
/usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/dvo.h:35:0,
                from
/usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/dvo_ch7xxx.c:32:
/usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/intel_drv.h:671:13:
error: redundant redeclaration of 'intel_fbc_enabled' [-Werror=redundant-decls]
extern bool intel_fbc_enabled(struct drm_device *dev);
            ^
In file included from
/usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/intel_drv.h:31:0,
                from
/usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/dvo.h:35,
                from
/usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/dvo_ch7xxx.c:32:
/usr/src/sys/dev/drm2/i915/i915_drv.h:1676:13: note: previous declaration of
'intel_fbc_enabled' was here
extern bool intel_fbc_enabled(struct drm_device *dev);
            ^

. . .
--- all_subdir_drm2 ---
cc1: all warnings being treated as errors
*** [dvo_ch7xxx.o] Error code 1


There may be more: I stopped exploring with this.

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


More information about the freebsd-bugs mailing list