From owner-freebsd-bugs@freebsd.org Wed Aug 3 07:33:04 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22165BAC1EA for ; Wed, 3 Aug 2016 07:33:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E14D31982 for ; Wed, 3 Aug 2016 07:33:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u737X3Ld002818 for ; Wed, 3 Aug 2016 07:33:03 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 211540] 11.0-BETA3+ -r303691 build via amd64-gcc: sys/dev/hptmv/vdevice.h:145:2: error: variably modified '_ArrayTables' at file scope; more Date: Wed, 03 Aug 2016 07:33:04 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: markmi@dsl-only.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2016 07:33:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211540 Bug ID: 211540 Summary: 11.0-BETA3+ -r303691 build via amd64-gcc: sys/dev/hptmv/vdevice.h:145:2: error: variably modified '_ArrayTables' at file scope; more Product: Base System Version: 11.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: markmi@dsl-only.net This is from attempting to build for amd64 via amd64-gcc instead of clang 3.8.0. --- all_subdir_hptmv --- In file included from /usr/src/sys/dev/hptmv/global.h:197:0, from /usr/src/sys/modules/hptmv/../../dev/hptmv/mv.c:42: /usr/src/sys/dev/hptmv/vdevice.h:145:2: error: variably modified '_ArrayTab= les' at file scope [-Werror] BYTE _ArrayTables[MAX_ARRAY_PER_VBUS * ARRAY_VDEV_SIZE]; ^ . . . --- entry.o --- In file included from /usr/src/sys/dev/hptmv/global.h:197:0, from /usr/src/sys/modules/hptmv/../../dev/hptmv/entry.c:54: /usr/src/sys/dev/hptmv/vdevice.h:145:2: error: variably modified '_ArrayTab= les' at file scope [-Werror] BYTE _ArrayTables[MAX_ARRAY_PER_VBUS * ARRAY_VDEV_SIZE]; ^ . . . --- all_subdir_hptmv --- /usr/src/sys/modules/hptmv/../../dev/hptmv/entry.c: In function 'hpt_poll': /usr/src/sys/modules/hptmv/../../dev/hptmv/entry.c:2091:17: warning: variab= le 'pAdapter' set but not used [-Wunused-but-set-variable] IAL_ADAPTER_T *pAdapter; ^ cc1: all warnings being treated as errors Context: # uname -apKU FreeBSD FreeBSDx64 11.0-BETA3 FreeBSD 11.0-BETA3 #2 r303691M: Tue Aug 2 23:40:42 PDT 2016=20=20=20=20 markmi@FreeBSDx64:/usr/obj/clang/amd64.amd64/usr/src/sys/GENERIC-NODBG amd= 64 amd64 1100120 1100120 --=20 You are receiving this mail because: You are the assignee for the bug.=