BBR patch on latest src, build failed.

hshh hunreal at gmail.com
Mon Sep 23 13:34:01 UTC 2019


Yes, I saw your email. As my post, I can build the kernel successfully with
revision 352483.
But can not build with latest src.

On Mon, Sep 23, 2019 at 2:39 PM vm finance <vm.finance2 at gmail.com> wrote:

> I have successfully built BBR after checking out latest codebase.
> I'm also on svn revision: 352483...
>
> Did you follow the steps I have outlined in previous emails on this topic?
> I had to manually create a few sub-directories/copy things etc. Pls check
> emails
> on this last week.
>
> On Sat, Sep 21, 2019 at 4:01 PM hshh <hunreal at gmail.com> wrote:
>
>> 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
>> _______________________________________________
>> freebsd-net at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-net
>> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>>
>

-- 
@hshh


More information about the freebsd-net mailing list