[Bug 260098] usr.sbin/syslogd ld: error: undefined symbol: iovlist_truncate WITHOUT_<alll> build options

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 29 Nov 2021 02:28:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260098

            Bug ID: 260098
           Summary: usr.sbin/syslogd ld: error: undefined symbol:
                    iovlist_truncate WITHOUT_<alll> build options
           Product: Base System
           Version: 13.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: editor@callfortesting.org

If specifying all WITHOUT_* build options in src.conf with the exception of
WITHOUT_AUTO_OBJ WITHOUT_UNIFIED_OBJDIR WITHOUT_INSTALLLIB, usr.sbin/syslogd
fails with the following message on the 2021-11-24 13.0-STABLE snapshot, built
on 13.0-RELEASE:

...
--- all_subdir_usr.bin ---
--- all_subdir_usr.bin/systat ---
--- fetch.o ---
cc -target x86_64-unknown-freebsd13.0
--sysroot=/usr/obj/usr/src/amd64.amd64/tmp
 -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -fno-common   -DNDEBUG
-M
D  -MF.depend.fetch.o -MTfetch.o -std=gnu99 -Wno-format-zero-length
-nobuiltinin
c -idirafter /usr/lib/clang/11.0.1/include -Qunused-arguments   -c
/usr/src/usr.
bin/systat/fetch.c -o fetch.o
--- all_subdir_usr.sbin ---
--- all_subdir_usr.sbin/syslogd ---
ld: error: undefined symbol: iovlist_truncate
>>> referenced by syslogd.c
>>>               syslogd.o:(fprintlog_write)
--- all_subdir_usr.bin ---
...

I do not know enough about ld to know where to start but I am happy to run any
desired tests such as suspect build options.

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