[Bug 208057] /usr/src/sys/netinet/tcp_input.c:245:1: error: static_assert failed
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Mar 16 12:17:03 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208057
Bug ID: 208057
Summary: /usr/src/sys/netinet/tcp_input.c:245:1: error:
static_assert failed
Product: Base System
Version: 11.0-CURRENT
Hardware: amd64
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: mikhail.rokhin at gmail.com
CC: freebsd-amd64 at FreeBSD.org
CC: freebsd-amd64 at FreeBSD.org
--- tcp_input.o ---
cc -c -O2 -pipe -fno-strict-aliasing -g -nostdinc -I. -I/usr/src/sys
-I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MP
-MF.depend.tcp_input.o -MTtcp_input.o -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv
-fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
-Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__
-Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-error-tautological-compare -Wno-error-empty-body
-Wno-error-parentheses-equality -Wno-error-unused-function
-Wno-error-pointer-sign -Wno-error-shift-negative-value -mno-aes -mno-avx
-std=iso9899:1999 -Werror /usr/src/sys/netinet/tcp_input.c
/usr/src/sys/netinet/tcp_input.c:245:1: error: static_assert failed
"compile-time assertion failed"
SYSCTL_COUNTER_U64_ARRAY(_net_inet_tcp, TCPCTL_STATES, states, CTLFLAG_RD |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/sys/sysctl.h:657:2: note: expanded from macro
'SYSCTL_COUNTER_U64_ARRAY'
CTASSERT((((access) & CTLTYPE) == 0 || \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/sys/sys/systm.h:103:21: note: expanded from macro 'CTASSERT'
#define CTASSERT(x) _Static_assert(x, "compile-time assertion failed")
^ ~
1 error generated.
*** [tcp_input.o] Error code 1
make[2]: stopped in /usr/obj/usr/src/sys/GENERIC
--- sctputil.o ---
ctfconvert -L VERSION -g sctputil.o
--- sctp_usrreq.o ---
ctfconvert -L VERSION -g sctp_usrreq.o
1 error
make[2]: stopped in /usr/obj/usr/src/sys/GENERIC
*** [buildkernel] Error code 2
make[1]: stopped in /usr/src
1 error
make[1]: stopped in /usr/src
*** [buildkernel] Error code 2
---
svn info
Path: .
Working Copy Root Path: /usr/src
URL: svn://svn0.eu.freebsd.org/base/head
Relative URL: ^/head
Repository Root: svn://svn0.eu.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 296934
Node Kind: directory
Schedule: normal
Last Changed Author: hselasky
Last Changed Rev: 296934
Last Changed Date: 2016-03-16 11:49:38 +0300 (Wed, 16 Mar 2016)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-amd64
mailing list