[Bug 260094] git 9e9c651caceb is too ZFS specific

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 28 Nov 2021 15:13:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260094

clbuisson@orange.fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|kern                        |misc

--- Comment #3 from clbuisson@orange.fr ---
Compiling head with

#WITHOUT_CDDL=
WITHOUT_ZFS=

buildworld is stopped by

building shared library libnvpair.so.2
..
ld: error: relocation R_X86_64_PC32 cannot be used against symbol __stderrp;
rec
ompile with -fPIC
>>> defined in /home/obj/home/src/amd64.amd64/tmp/lib/libc.so.7
>>> referenced by assert.c
>>>               assert.o:(libspl_assertf) in archive /home/obj/home/src/amd64.
amd64/tmp/usr/lib/libspl.a
...

but succeed with

#WITHOUT_ZFS=

I traced the problem to git 9e9c651caceb "cddl: fix missing ZFS library
dependencies" (2021/11/15)

builworld succeeds after applying the attached patch

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