Date: Wed, 01 Jun 2016 09:04:41 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 209924] 11.0 -r300944 buildkernel via amd64-gcc fails for: .../dev/drm2/i915/dvo_ch7xxx.c related redundant declarations Message-ID: <bug-209924-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209924 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@FreeBSD.org Reporter: markmi@dsl-only.net CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@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 redeclaratio= n of 'i915_gem_dump_object' [-Werror=3Dredundant-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=3Dredundant-= 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. --=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-209924-8>