Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Apr 2021 10:25:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 255389] FIB_ALGO fails to build without INET6
Message-ID:  <bug-255389-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255389

            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@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
                CC: melifaro@FreeBSD.org

Created attachment 224416
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D224416&action=
=3Dedit
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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255389-227>