freebsd-nq/cddl
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
..
compat/opensolaris Delete obsolete Solaris compat files 2021-05-24 08:48:47 -06:00
contrib/opensolaris dtrace: fix an out of bound read and a NULL pointer increment 2021-06-17 13:52:32 -04:00
lib pkgbase: Put dtrace in its own package 2021-06-19 17:49:31 +02:00
sbin zfs: merge openzfs/zfs@afa7b3484 (master) into main 2021-06-13 04:38:47 +02:00
share zfs: merge openzfs/zfs@75b4cbf62 (master) into main 2021-06-08 16:52:44 +02:00
tests
usr.bin zfs: change zstream -> zstreamdump link into a symlink 2021-06-13 05:40:18 +02:00
usr.libexec zfs: attach zpool_influxdb to build 2021-07-07 20:15:12 +02:00
usr.sbin Explicitly link zfsd with libspl to avoid undefined references 2021-08-28 20:23:28 +02:00
Makefile zfs: attach zpool_influxdb to build 2021-07-07 20:15:12 +02:00
Makefile.inc Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00