[Bug 211386] Kernel build failes when TCP_RFC7413 option set.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 26 16:11:18 UTC 2016


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

            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 at FreeBSD.org
          Reporter: iron at mail.ua
                CC: freebsd-amd64 at FreeBSD.org
                CC: freebsd-amd64 at 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=/usr/obj/usr/src/tmp
-B/usr/obj/usr/src/tmp/usr/bin -c -O3 -pipe -march=native -fno-strict-aliasing
-march=native  -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -MD 
-MF.depend.tcp_fastopen.o -MTtcp_fastopen.o -mcmodel=kernel -mno-red-zone
-mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -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_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 sockaddr'
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

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


More information about the freebsd-amd64 mailing list