Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Apr 2022 00:34:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 262920] bhyve: Guest fails to run: boot/userboot.so: Undefined symbol "getsecs" with WITH_BIND_NOW=yes
Message-ID:  <bug-262920-29464-pXSFXV7Pkr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-262920-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-262920-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262920

--- Comment #15 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D660c1892d5c90500d37f98185326c6287=
b2b61be

commit 660c1892d5c90500d37f98185326c6287b2b61be
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2022-04-13 00:29:54 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2022-04-13 00:33:54 +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
    MFC after:      3 days
    Diferential Revision:   https://reviews.freebsd.org/D34758

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-262920-29464-pXSFXV7Pkr>