Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jan 2016 23:35:53 -0800
From:      NGie Cooper <yaneurabeya@gmail.com>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        freebsd-current <freebsd-current@freebsd.org>, Gleb Smirnoff <glebius@glebius.int.ru>
Subject:   Re: r 293304: BROKEN: buildkernel fails due to error: error: no member named 't_maxopd' in 'struct tcpcb'
Message-ID:  <D482F194-4E7C-4E5A-92BA-0EAE6A539B90@gmail.com>
In-Reply-To: <20160107063111.0a4e232f@freyja.zeit4.iv.bundesimmobilien.de>
References:  <20160107063111.0a4e232f@freyja.zeit4.iv.bundesimmobilien.de>

next in thread | previous in thread | raw e-mail | index | archive | help

> On Jan 6, 2016, at 21:31, O. Hartmann <ohartman@zedat.fu-berlin.de> =
wrote:
>=20
> Recent r293304 fails to build kernel due to the error below:
>=20
> [...]
> --- kern_testfrwk.o ---
> cc  -O2 -pipe -O3 -O3 -pipe -march=3Dnative  -fno-strict-aliasing =
-Werror
> -D_KERNEL -DKLD_MODULE -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS
> -include /usr/obj/usr/src/sys/FREYJA/opt_global.h -I. -I/usr/src/sys
> -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
> -I/usr/obj/usr/src/sys/FREYJA  -mcmodel=3Dkernel -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__=3D__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=3Diso9899:1999
> -c =
/usr/src/sys/modules/tests/framework/../../../tests/framework/kern_testfrw=
k.c
> -o kern_testfrwk.o --- all_subdir_tcp/fastpath
> --- =
/usr/src/sys/modules/tcp/fastpath/../../../netinet/tcp_stacks/fastpath.c:4=
81:6:
> error: no member named 't_maxopd' in 'struct tcpcb' if (DELAY_ACK(tp, =
tlen))
> { ^
> ~~ =
/usr/src/sys/modules/tcp/fastpath/../../../netinet/tcp_stacks/fastpath.c:1=
67:19:
> note: expanded from macro 'DELAY_ACK' (tlen <=3D tp->t_maxopd)
> &&                                   \
> ^ =
/usr/src/sys/modules/tcp/fastpath/../../../netinet/tcp_stacks/fastpath.c:6=
06:8:
> error: no member named 't_maxopd' in 'struct tcpcb' if (DELAY_ACK(tp, =
tlen) &&
> tlen !=3D 0) ^
> ~~ =
/usr/src/sys/modules/tcp/fastpath/../../../netinet/tcp_stacks/fastpath.c:1=
67:19:
> note: expanded from macro 'DELAY_ACK' (tlen <=3D tp->t_maxopd)
> &&                                   \ ^ --- sctp_indata.o --- =
ctfconvert -L
> VERSION sctp_indata.o ERROR: ctfconvert: sctp_indata.o doesn't have =
type data
> to convert --- modules-all --- --- all_subdir_sfxge --- --- =
siena_vpd.o --- cc
> -O2 -pipe -O3 -O3 -pipe -march=3Dnative  -fno-strict-aliasing -Werror =
-D_KERNEL
> -DKLD_MODULE -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS
> -include /usr/obj/usr/src/sys/FREYJA/opt_global.h -I. -I/usr/src/sys
> -fno-common  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
> -I/usr/obj/usr/src/sys/FREYJA  -mcmodel=3Dkernel -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__=3D__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=3Diso9899:1999
> -c /usr/src/sys/modules/sfxge/../../dev/sfxge/common/siena_vpd.c -o =
siena_vpd.o
> --- all_subdir_tcp/fastpath
> --- =
/usr/src/sys/modules/tcp/fastpath/../../../netinet/tcp_stacks/fastpath.c:1=
545:8:
> error: no member named 't_maxopd' in 'struct tcpcb' if (DELAY_ACK(tp, =
tlen))
> ^
> ~~ =
/usr/src/sys/modules/tcp/fastpath/../../../netinet/tcp_stacks/fastpath.c:1=
67:19:
> note: expanded from macro 'DELAY_ACK' (tlen <=3D tp->t_maxopd)
> &&                                   \ ^ 3 errors generated. *** =
[fastpath.o]
> Error code 1
>=20
> make[4]: stopped in /usr/src/sys/modules/tcp/fastpath
> 1 error
>=20
> make[4]: stopped in /usr/src/sys/modules/tcp/fastpath
> *** [all_subdir_tcp/fastpath] Error code 2
>=20
> make[3]: stopped in /usr/src/sys/modules
> --- all_subdir_sfxge ---
> --- siena_sram.o ---
> ctfconvert -L VERSION siena_sram.o
> ERROR: ctfconvert: siena_sram.o doesn't have type data to convert
> --- all_subdir_tests/callout_test ---
> ctfconvert -L VERSION callout_test.o
> ERROR: ctfconvert: callout_test.o doesn't have type data to convert
> A failure has been detected in another branch of the parallel make
>=20
> make[4]: stopped in /usr/src/sys/modules/tests/callout_test
> *** [all_subdir_tests/callout_test] Error code 2
>=20
> make[3]: stopped in /usr/src/sys/modules
> --- sctp_input.o ---
> ctfconvert -L VERSION sctp_input.o

I sent an email to glebius about the build breakage. In the meantime, =
please feel free to revert r293284.
Thanks!
-NGie




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D482F194-4E7C-4E5A-92BA-0EAE6A539B90>