Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jul 2016 16:11:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 211386] Kernel build failes when TCP_RFC7413 option set.
Message-ID:  <bug-211386-8@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 211386
           Summary: Kernel build failes when TCP_RFC7413 option set.
           Product: Base System
           Version: 11.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: iron@mail.ua
                CC: freebsd-amd64@FreeBSD.org
                CC: freebsd-amd64@FreeBSD.org

Hello,

I'm trying to build kernel 11-STABLE r303338 and it failes to build wnen I =
have
in config file:

options         TCP_RFC7413

Here is build log:

cc -target x86_64-unknown-freebsd11.0 --sysroot=3D/usr/obj/usr/src/tmp
-B/usr/obj/usr/src/tmp/usr/bin -c -O3 -pipe -march=3Dnative -fno-strict-ali=
asing
-march=3Dnative  -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -MD=20
-MF.depend.tcp_fastopen.o -MTtcp_fastopen.o -mcmodel=3Dkernel -mno-red-zone
-mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestand=
ing
-fwrapv -fstack-protector -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_fastopen.c
In file included from /usr/src/sys/netinet/tcp_fastopen.c:120:
In file included from /usr/src/sys/netinet/in_pcb.h:45:
/usr/src/sys/net/route.h:63:18: error: field has incomplete type 'struct
sockaddr'
        struct  sockaddr ro_dst;
                         ^
/usr/src/sys/sys/sockbuf.h:64:8: note: forward declaration of 'struct socka=
ddr'
struct sockaddr;
       ^
1 error generated.
*** Error code 1

Stop.
bmake[2]: stopped in /usr/obj/usr/src/sys/BT
*** Error code 1

Stop.
bmake[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src

--=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-211386-8>