[Bug 262920] bhyve: Guest fails to run: boot/userboot.so: Undefined symbol "getsecs" with WITH_BIND_NOW=yes

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 21 Apr 2022 22:35:39 UTC

--- Comment #17 from commit-hook@FreeBSD.org ---
A commit in branch stable/12 references this bug:


commit 53fefea53f12f13ef53b639c7d2073ffc84523ab
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2022-04-13 00:29:54 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2022-04-21 22:33:21 +0000

    loader: userboot: provide a getsecs() implementation

    We don't need it for userboot, but it avoids issues with BIND_NOW, so
    just provide it.  time(3) isn't defined but ends up being provided by
    libc linked into the host process, which is generally fine.

    PR:     262920
    Reviewed by:    imp, jhb

    (cherry picked from commit 660c1892d5c90500d37f98185326c6287b2b61be)

 stand/userboot/userboot/main.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

You are receiving this mail because:
You are on the CC list for the bug.