Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Sep 2019 07:00:47 +0800
From:      hshh <hunreal@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   BBR patch on latest src, build failed.
Message-ID:  <CAJrEuZYD0Pzox7j5qskWepZhNoArC4aV4v7hd5g=5sVYhPeCgg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJrEuZYD0Pzox7j5qskWepZhNoArC4aV4v7hd5g=5sVYhPeCgg>