[Bug 255389] FIB_ALGO fails to build without INET6

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 25 10:25:09 UTC 2021


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

            Bug ID: 255389
           Summary: FIB_ALGO fails to build without INET6
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
                CC: melifaro at FreeBSD.org

Created attachment 224416
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=224416&action=edit
blind fix (apply via "git am")

Exposed by src 6993187a8c30

$ cat sys/amd64/conf/MYKERNEL
include GENERIC-NODEBUG
ident MYKERNEL
nooption INET6

$ make -j8 buildkernel
[...]
--- kernel.full ---
linking kernel.full
ld: error: undefined symbol: vnet_entry_inet6_dp
>>> referenced by pcpu_aux.h:0 (sys/amd64/include/pcpu_aux.h:0)
>>>               fib_algo.o:(fib_set_datapath_ptr)
>>> referenced by fib_algo.c:0 (sys/net/route/fib_algo.c:0)
>>>               fib_algo.o:(fib_select_algo_initial)
>>> did you mean: vnet_entry_inet_dp
>>> defined in: in_fib.o

ld: error: undefined symbol: rt_get_inet6_prefix_plen
>>> referenced by fib_algo.c:713 (sys/net/route/fib_algo.c:713)
>>>               fib_algo.o:(queue_rtable_change)
*** [kernel.full] Error code 1

make[2]: stopped in /usr/obj/amd64.amd64/sys/NONGENERIC

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list