BBR patch on latest src, build failed.

hshh hunreal at gmail.com
Sat Sep 21 23:01:26 UTC 2019


Hi all,

I patched D21582.id62213.diff to latest head src that revision 352587,
kernel build failed.

According to previous mail, I can build the kernel successfully with
revision 352483.

OS is 13.0-CURRENT amd64.

Kernel config file,

include         GENERIC-NODEBUG
ident           hshh
makeoptions     WITH_EXTRA_TCP_STACKS=1
options         TCPHPTS
options         RATELIMIT

The error log,

--- tcp_bbr.ko.full ---
ld -m elf_x86_64_fbsd -d -warn-common --build-id=sha1 -d -warn-common
--build-id=sha1 -d -warn-common --build-id=sha1 -d -warn-common
--build-id=sha1 -r -d -o tcp_bbr.ko.full bbr.o sack_filter.o
rack_bbr_common.o bbr.o sack_filter.o rack_bbr_common.o bbr.o sack_filter.o
rack_bbr_common.o bbr.o sack_filter.o rack_bbr_common.o
ld: error: duplicate symbol: __tcp_bbr
>>> defined at bbr.c
>>>            bbr.o:(__tcp_bbr)
>>> defined at bbr.c
>>>            bbr.o:(.data+0x8)
.... Some messages similar above.
-- 
@hshh


More information about the freebsd-net mailing list