Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Mar 2022 19:06:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 262920] bhyve: "/boot/userboot.so: Undefined symbol "getsecs"
Message-ID:  <bug-262920-29464-oC47bF07Xn@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

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 se=
ems
to come up often... :)

--=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-oC47bF07Xn>