Problem building kernel STABLE12 amd64 arch

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem building kernel STABLE12 amd64 arch

freebsd-stable mailing list
I tried to update stable to yesterday build and I get the following error on amd64 arch
linking kernel
ld: error: undefined symbol: iflib_get_softc
>>> referenced by if_vmx.c
>>>               if_vmx.o:(vmxnet3_legacy_intr)

ld: error: undefined symbol: iflib_admin_intr_deferred
>>> referenced by if_vmx.c
>>>               if_vmx.o:(vmxnet3_legacy_intr)

ld: error: undefined symbol: iflib_get_softc
>>> referenced by if_vmx.c
>>>               if_vmx.o:(vmxnet3_tx_queues_alloc)

ld: error: undefined symbol: iflib_dma_alloc_align
>>> referenced by if_vmx.c
>>>               if_vmx.o:(vmxnet3_tx_queues_alloc)
ld: error: undefined symbol: iflib_get_softc
>>> referenced by if_vmx.c
>>>               if_vmx.o:(vmxnet3_rx_queues_alloc)

ld: error: undefined symbol: iflib_dma_alloc_align
>>> referenced by if_vmx.c
>>>               if_vmx.o:(vmxnet3_rx_queues_alloc)

ld: error: undefined symbol: iflib_get_softc
>>> referenced by if_vmx.c
>>>               if_vmx.o:(vmxnet3_queues_free)

ld: error: undefined symbol: iflib_dma_free
>>> referenced by if_vmx.c
>>>               if_vmx.o:(vmxnet3_queues_free)

ld: error: undefined symbol: iflib_get_dev
>>> referenced by if_vmx.c
>>>               if_vmx.o:(vmxnet3_attach_pre)>>>               if_vmx.o:(vmxnet3_attach_pre)

ld: error: undefined symbol: iflib_get_sctx
>>> referenced by if_vmx.c
>>>               if_vmx.o:(vmxnet3_attach_pre)

ld: error: undefined symbol: iflib_get_softc_ctx
>>> referenced by if_vmx.c
>>>               if_vmx.o:(vmxnet3_attach_pre)

ld: error: undefined symbol: iflib_get_ifp
>>> referenced by if_vmx.c
>>>               if_vmx.o:(vmxnet3_attach_pre)

ld: error: undefined symbol: iflib_get_media
>>> referenced by if_vmx.c
>>>               if_vmx.o:(vmxnet3_attach_pre)

ld: error: undefined symbol: iflib_set_mac
>>> referenced by if_vmx.c
>>>               if_vmx.o:(vmxnet3_attach_pre)
ld: error: undefined symbol: iflib_get_softc_ctx
>>> referenced by if_vmx.c
>>>               if_vmx.o:(vmxnet3_attach_post)

ld: error: undefined symbol: iflib_get_softc
>>> referenced by if_vmx.c
>>>               if_vmx.o:(vmxnet3_attach_post)

ld: error: undefined symbol: iflib_dma_alloc_align
>>> referenced by if_vmx.c
>>>               if_vmx.o:(vmxnet3_attach_post)

ld: error: undefined symbol: iflib_dma_alloc_align
>>> referenced by if_vmx.c
>>>               if_vmx.o:(vmxnet3_attach_post)

ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
*** Error code 1

Stop.
Stop.
make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/STING_VT
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src

Any help appreciatedsincerelyFilippo


_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: Problem building kernel STABLE12 amd64 arch

Konstantin Belousov
On Sun, Feb 17, 2019 at 09:11:46AM +0000, Filippo Moretti via freebsd-stable wrote:

> I tried to update stable to yesterday build and I get the following error on amd64 arch
> linking kernel
> ld: error: undefined symbol: iflib_get_softc
> >>> referenced by if_vmx.c
> >>>               if_vmx.o:(vmxnet3_legacy_intr)
>
> ld: error: undefined symbol: iflib_admin_intr_deferred
> >>> referenced by if_vmx.c
> >>>               if_vmx.o:(vmxnet3_legacy_intr)
>
> ld: error: undefined symbol: iflib_get_softc
> >>> referenced by if_vmx.c
> >>>               if_vmx.o:(vmxnet3_tx_queues_alloc)
>
> ld: error: undefined symbol: iflib_dma_alloc_align
> >>> referenced by if_vmx.c
> >>>               if_vmx.o:(vmxnet3_tx_queues_alloc)
> ld: error: undefined symbol: iflib_get_softc
> >>> referenced by if_vmx.c
> >>>               if_vmx.o:(vmxnet3_rx_queues_alloc)
>
> ld: error: undefined symbol: iflib_dma_alloc_align
> >>> referenced by if_vmx.c
> >>>               if_vmx.o:(vmxnet3_rx_queues_alloc)
>
> ld: error: undefined symbol: iflib_get_softc
> >>> referenced by if_vmx.c
> >>>               if_vmx.o:(vmxnet3_queues_free)
>
> ld: error: undefined symbol: iflib_dma_free
> >>> referenced by if_vmx.c
> >>>               if_vmx.o:(vmxnet3_queues_free)
>
> ld: error: undefined symbol: iflib_get_dev
> >>> referenced by if_vmx.c
> >>>               if_vmx.o:(vmxnet3_attach_pre)>>>               if_vmx.o:(vmxnet3_attach_pre)
>
> ld: error: undefined symbol: iflib_get_sctx
> >>> referenced by if_vmx.c
> >>>               if_vmx.o:(vmxnet3_attach_pre)
>
> ld: error: undefined symbol: iflib_get_softc_ctx
> >>> referenced by if_vmx.c
> >>>               if_vmx.o:(vmxnet3_attach_pre)
>
> ld: error: undefined symbol: iflib_get_ifp
> >>> referenced by if_vmx.c
> >>>               if_vmx.o:(vmxnet3_attach_pre)
>
> ld: error: undefined symbol: iflib_get_media
> >>> referenced by if_vmx.c
> >>>               if_vmx.o:(vmxnet3_attach_pre)
>
> ld: error: undefined symbol: iflib_set_mac
> >>> referenced by if_vmx.c
> >>>               if_vmx.o:(vmxnet3_attach_pre)
> ld: error: undefined symbol: iflib_get_softc_ctx
> >>> referenced by if_vmx.c
> >>>               if_vmx.o:(vmxnet3_attach_post)
>
> ld: error: undefined symbol: iflib_get_softc
> >>> referenced by if_vmx.c
> >>>               if_vmx.o:(vmxnet3_attach_post)
>
> ld: error: undefined symbol: iflib_dma_alloc_align
> >>> referenced by if_vmx.c
> >>>               if_vmx.o:(vmxnet3_attach_post)
>
> ld: error: undefined symbol: iflib_dma_alloc_align
> >>> referenced by if_vmx.c
> >>>               if_vmx.o:(vmxnet3_attach_post)
>
> ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
> *** Error code 1
>
> Stop.
> Stop.
> make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/STING_VT
> *** Error code 1
>
> Stop.
> make[1]: stopped in /usr/src
> *** Error code 1
>
> Stop.
> make: stopped in /usr/src
>
> Any help appreciatedsincerelyFilippo

Read UPDATING note 20190214.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: Problem building kernel STABLE12 amd64 arch

David Wolfskill
In reply to this post by freebsd-stable mailing list
On Sun, Feb 17, 2019 at 09:11:46AM +0000, Filippo Moretti via freebsd-stable wrote:

> I tried to update stable to yesterday build and I get the following error on amd64 arch
> linking kernel
> ld: error: undefined symbol: iflib_get_softc
> >>> referenced by if_vmx.c
> >>>               if_vmx.o:(vmxnet3_legacy_intr)
>
> ld: error: undefined symbol: iflib_admin_intr_deferred
> ...
> Stop.
> make: stopped in /usr/src
>
> Any help appreciatedsincerelyFilippo
> ....
It appears that your kernel configuration file -- unlike that of GENERIC
-- does not include the entry:

| # PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure
| device          iflib

This is pointed out in src/UPDATING:

| 20190214:
|         Iflib is no longer unconditionally compiled into the kernel.  Drivers
|         using iflib and statically compiled into the kernel, now require
|         the 'device iflib' config option.  For the same drivers loaded as
|         modules on kernels not having 'device iflib', the iflib.ko module
|         is loaded automatically.

A way to avoid the problem (and others of a similar nature) is to
have your custom kernel configuration

| include         GENERIC

and then customize from that point.

Peace,
david
--
David H. Wolfskill [hidden email]
There's a "national security emergency" all right -- at 1600 Pennsylvania Ave.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

signature.asc (631 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Problem building kernel STABLE12 amd64 arch

Paul Mather-4
In reply to this post by freebsd-stable mailing list
On Feb 17, 2019, at 4:11 AM, Filippo Moretti via freebsd-stable <[hidden email]> wrote:

> I tried to update stable to yesterday build and I get the following error on amd64 arch
> linking kernel
> ld: error: undefined symbol: iflib_get_softc
>>>> referenced by if_vmx.c
>>>>                if_vmx.o:(vmxnet3_legacy_intr)
>
> ld: error: undefined symbol: iflib_admin_intr_deferred
>>>> referenced by if_vmx.c
>>>>                if_vmx.o:(vmxnet3_legacy_intr)
>
> ld: error: undefined symbol: iflib_get_softc
>>>> referenced by if_vmx.c
>>>>                if_vmx.o:(vmxnet3_tx_queues_alloc)
>
> ld: error: undefined symbol: iflib_dma_alloc_align
>>>> referenced by if_vmx.c
>>>>                if_vmx.o:(vmxnet3_tx_queues_alloc)
> ld: error: undefined symbol: iflib_get_softc
>>>> referenced by if_vmx.c
>>>>                if_vmx.o:(vmxnet3_rx_queues_alloc)
>
> ld: error: undefined symbol: iflib_dma_alloc_align
>>>> referenced by if_vmx.c
>>>>                if_vmx.o:(vmxnet3_rx_queues_alloc)
>
> ld: error: undefined symbol: iflib_get_softc
>>>> referenced by if_vmx.c
>>>>                if_vmx.o:(vmxnet3_queues_free)
>
> ld: error: undefined symbol: iflib_dma_free
>>>> referenced by if_vmx.c
>>>>                if_vmx.o:(vmxnet3_queues_free)
>
> ld: error: undefined symbol: iflib_get_dev
>>>> referenced by if_vmx.c
>>>>                if_vmx.o:(vmxnet3_attach_pre)>>>               if_vmx.o:(vmxnet3_attach_pre)
>
> ld: error: undefined symbol: iflib_get_sctx
>>>> referenced by if_vmx.c
>>>>                if_vmx.o:(vmxnet3_attach_pre)
>
> ld: error: undefined symbol: iflib_get_softc_ctx
>>>> referenced by if_vmx.c
>>>>                if_vmx.o:(vmxnet3_attach_pre)
>
> ld: error: undefined symbol: iflib_get_ifp
>>>> referenced by if_vmx.c
>>>>                if_vmx.o:(vmxnet3_attach_pre)
>
> ld: error: undefined symbol: iflib_get_media
>>>> referenced by if_vmx.c
>>>>                if_vmx.o:(vmxnet3_attach_pre)
>
> ld: error: undefined symbol: iflib_set_mac
>>>> referenced by if_vmx.c
>>>>                if_vmx.o:(vmxnet3_attach_pre)
> ld: error: undefined symbol: iflib_get_softc_ctx
>>>> referenced by if_vmx.c
>>>>                if_vmx.o:(vmxnet3_attach_post)
>
> ld: error: undefined symbol: iflib_get_softc
>>>> referenced by if_vmx.c
>>>>                if_vmx.o:(vmxnet3_attach_post)
>
> ld: error: undefined symbol: iflib_dma_alloc_align
>>>> referenced by if_vmx.c
>>>>                if_vmx.o:(vmxnet3_attach_post)
>
> ld: error: undefined symbol: iflib_dma_alloc_align
>>>> referenced by if_vmx.c
>>>>                if_vmx.o:(vmxnet3_attach_post)
>
> ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
> *** Error code 1
>
> Stop.
> Stop.
> make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/STING_VT
> *** Error code 1
>
> Stop.
> make[1]: stopped in /usr/src
> *** Error code 1
>
> Stop.
> make: stopped in /usr/src
>
> Any help appreciatedsincerelyFilippo


Please see the 20190214 entry in /usr/src/UPDATING to fix this problem.

Cheers,

Paul.

_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[hidden email]"