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

            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: [email protected]
          Reporter: [email protected]

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 '_ArrayTables'
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 '_ArrayTables'
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: variable
'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    
markmi@FreeBSDx64:/usr/obj/clang/amd64.amd64/usr/src/sys/GENERIC-NODBG  amd64
amd64 1100120 1100120

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to