freebsd-dev/cddl/usr.sbin/zfsd
Dimitry Andric 9fae476669 Explicitly link zfsd with libspl to avoid undefined references
Because lld 13.0.0 is more strict about undefined references when
linking to shared libraries, it produces the following errors for zfsd:

ld: error: /home/dim/obj/home/dim/src/llvm-13-update/amd64.amd64/tmp/usr/lib/libzfs_core.so: undefined reference to libspl_assertf [--no-allow-shlib-undefined]
ld: error: /home/dim/obj/home/dim/src/llvm-13-update/amd64.amd64/tmp/usr/lib/libnvpair.so: undefined reference to libspl_assertf [--no-allow-shlib-undefined]
ld: error: /home/dim/obj/home/dim/src/llvm-13-update/amd64.amd64/tmp/usr/lib/libavl.so: undefined reference to libspl_assertf [--no-allow-shlib-undefined]
*** [zfsd.full] Error code 1

Fix this by adding libspl (where libspl_assertf lives) to zfsd's LIBADD.

MFC after:	3 days
2021-08-28 20:23:28 +02:00
..
tests Merge OpenZFS support in to HEAD. 2020-08-25 02:21:27 +00:00
callout.cc Merge OpenZFS support in to HEAD. 2020-08-25 02:21:27 +00:00
callout.h
case_file.cc zfsd: Check for error from zpool_vdev_online 2021-07-06 16:00:18 +00:00
case_file.h
Makefile
Makefile.common Explicitly link zfsd with libspl to avoid undefined references 2021-08-28 20:23:28 +02:00
Makefile.depend
vdev_iterator.cc Merge OpenZFS support in to HEAD. 2020-08-25 02:21:27 +00:00
vdev_iterator.h
vdev.cc Merge OpenZFS support in to HEAD. 2020-08-25 02:21:27 +00:00
vdev.h
zfsd_event.cc Merge OpenZFS support in to HEAD. 2020-08-25 02:21:27 +00:00
zfsd_event.h
zfsd_exception.cc Merge OpenZFS support in to HEAD. 2020-08-25 02:21:27 +00:00
zfsd_exception.h
zfsd_main.cc
zfsd.8 zfsd.8: fix orphan .Xr 2020-04-18 19:47:38 +00:00
zfsd.cc Merge OpenZFS support in to HEAD. 2020-08-25 02:21:27 +00:00
zfsd.h
zpool_list.cc Merge OpenZFS support in to HEAD. 2020-08-25 02:21:27 +00:00
zpool_list.h