buildkernel fais with option ZFS in kernel configuration

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

buildkernel fais with option ZFS in kernel configuration

Scott Kenney-2
Hello,

Just noticed that buildkernel fails with "options ZFS" in the kernel
configuration file, the modules build without error.

Source is at revision 364870

FreeBSD datura.rmta.org 13.0-CURRENT FreeBSD
13.0-CURRENT #3 r364525: Sun Aug 23 23:14:23 EDT 2020
[hidden email]:/usr/obj/usr/src/amd64.amd64/sys/DATURA amd64



linking kernel
ld: error: undefined symbol: zfs_zstd_compress
>>> referenced by zio_compress.c
>>>               zio_compress.o:(zio_compress_table)

ld: error: undefined symbol: zfs_zstd_decompress
>>> referenced by zio_compress.c
>>>               zio_compress.o:(zio_compress_table)

ld: error: undefined symbol: zfs_zstd_decompress_level
>>> referenced by zio_compress.c
>>>               zio_compress.o:(zio_compress_table)
*** [kernel] Error code 1

make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/DATURA
1 error

make[2]: stopped in /usr/obj/usr/src/amd64.a
make[2]: stopped in /usr/obj/usr/src/amd64.a





--
Scott Kenney >|< [hidden email]
"Let's exchange the experience" - KB
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: buildkernel fais with option ZFS in kernel configuration

Matthew Macy-3
Need zstdio option when linking statically

On Thu, Aug 27, 2020 at 8:23 AM Scott Kenney <[hidden email]> wrote:

>
> Hello,
>
> Just noticed that buildkernel fails with "options ZFS" in the kernel
> configuration file, the modules build without error.
>
> Source is at revision 364870
>
> FreeBSD datura.rmta.org 13.0-CURRENT FreeBSD
> 13.0-CURRENT #3 r364525: Sun Aug 23 23:14:23 EDT 2020
> [hidden email]:/usr/obj/usr/src/amd64.amd64/sys/DATURA amd64
>
>
>
> linking kernel
> ld: error: undefined symbol: zfs_zstd_compress
> >>> referenced by zio_compress.c
> >>>               zio_compress.o:(zio_compress_table)
>
> ld: error: undefined symbol: zfs_zstd_decompress
> >>> referenced by zio_compress.c
> >>>               zio_compress.o:(zio_compress_table)
>
> ld: error: undefined symbol: zfs_zstd_decompress_level
> >>> referenced by zio_compress.c
> >>>               zio_compress.o:(zio_compress_table)
> *** [kernel] Error code 1
>
> make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/DATURA
> 1 error
>
> make[2]: stopped in /usr/obj/usr/src/amd64.a
> make[2]: stopped in /usr/obj/usr/src/amd64.a
>
>
>
>
>
> --
> Scott Kenney >|< [hidden email]
> "Let's exchange the experience" - KB
> _______________________________________________
> [hidden email] mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "[hidden email]"
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

Re: buildkernel fais with option ZFS in kernel configuration

Scott Kenney-2
On Thu, Aug 27, 2020 at 11:36:56AM -0700, Matthew Macy wrote:

> Need zstdio option when linking statically

Thank you.  It should probably be added as a requirement to the NOTES file.


> On Thu, Aug 27, 2020 at 8:23 AM Scott Kenney <[hidden email]> wrote:
> >
> > Hello,
> >
> > Just noticed that buildkernel fails with "options ZFS" in the kernel
> > configuration file, the modules build without error.
> >
> > Source is at revision 364870
> >
> > FreeBSD datura.rmta.org 13.0-CURRENT FreeBSD
> > 13.0-CURRENT #3 r364525: Sun Aug 23 23:14:23 EDT 2020
> > [hidden email]:/usr/obj/usr/src/amd64.amd64/sys/DATURA amd64
> >
> >
> >
> > linking kernel
> > ld: error: undefined symbol: zfs_zstd_compress
> > >>> referenced by zio_compress.c
> > >>>               zio_compress.o:(zio_compress_table)
> >
> > ld: error: undefined symbol: zfs_zstd_decompress
> > >>> referenced by zio_compress.c
> > >>>               zio_compress.o:(zio_compress_table)
> >
> > ld: error: undefined symbol: zfs_zstd_decompress_level
> > >>> referenced by zio_compress.c
> > >>>               zio_compress.o:(zio_compress_table)
> > *** [kernel] Error code 1
> >
> > make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/DATURA
> > 1 error
> >
> > make[2]: stopped in /usr/obj/usr/src/amd64.a
> > make[2]: stopped in /usr/obj/usr/src/amd64.a

--
Scott Kenney >|< [hidden email]
"Let's exchange the experience" - KB
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[hidden email]"