[Bug 262920] bhyve: "/boot/userboot.so: Undefined symbol "getsecs"

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 31 Mar 2022 19:06:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262920

Dimitry Andric <dim@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dim@FreeBSD.org

--- Comment #9 from Dimitry Andric <dim@FreeBSD.org> ---
If I dump userboot.so with readelf, I see more than on UND symbol:

Symbol table '.dynsym' contains 1094 entries:
   Num:    Value          Size Type    Bind   Vis      Ndx Name
     0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND
     1: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND memmem
     2: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND time
     3: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT  UND getsecs

Shouldn't these be defined somewhere in libsa? E.g. stuff like strcpy() and
such are defined in one of the utility .a files that get statically linked into
userboot.so.

Not sure why this worked before, but then again, this is a question that seems
to come up often... :)

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