Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Mar 2016 12:17:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 208057] /usr/src/sys/netinet/tcp_input.c:245:1: error: static_assert failed
Message-ID:  <bug-208057-6@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208057

            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@FreeBSD.org
          Reporter: mikhail.rokhin@gmail.com
                CC: freebsd-amd64@FreeBSD.org
                CC: freebsd-amd64@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 -inclu=
de
opt_global.h  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MP
-MF.depend.tcp_input.o -MTtcp_input.o -mcmodel=3Dkernel -mno-red-zone -mno-=
mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwra=
pv
-fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-q=
ual=20
-Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__=20
-Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas=20
-Wno-error-tautological-compare -Wno-error-empty-body=20
-Wno-error-parentheses-equality -Wno-error-unused-function=20
-Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx=
=20
-std=3Diso9899: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) =3D=3D 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)

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208057-6>