🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: muc.lists.freebsd.current
2 messages
2 total messages Started by Shawn Webb Tue, 17 Nov 2026 18:35
virtual_oss library lacks at least one symbol
#221
Author: Shawn Webb
Date: Tue, 17 Nov 2026 18:35
106 lines
9889 bytes
--yghgmm3xj7spxgfn
Content-Type: text/plain; protected-headers=v1; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Subject: virtual_oss library lacks at least one symbol
MIME-Version: 1.0

Hey all,

HardenedBSD builds base userland with BIND_NOW, which is why I think
we're hitting the following issue. The virtual_oss set of libraries
reference a symbol named voss_has_synchronization, but that symbol
doesn't seem to exist in the library.

My laptop runs HardenedBSD, and on the FreeBSD side, I'm at commit
9d2cdb3fd5741685622b0b9c0e17e22583c9ceff. HardenedBSD carries zero
modifications to lib/virtual_oss.

The error I'm seeing:

=3D=3D=3D=3D BEGIN LOG =3D=3D=3D=3D
shawn-framework-01[shawn]:/home/shawn/tmp (1) $ sudo service virtual_oss st=
art
Starting virtual_oss config: dsp: virtual_oss: /usr/lib/virtual_oss/voss_os=
s.so: Undefined symbol "voss_has_synchronization"
done
=3D=3D=3D=3D END LOG =3D=3D=3D=3D

I looked for the missing symbol in the library first, but found out
that it's not defined in the library, but in the main application.

=3D=3D=3D=3D BEGIN LOG =3D=3D=3D=3D
shawn-framework-01[shawn]:/usr/src/lib/virtual_oss $ grep -rnF voss_has_syn=
chronization=20
=2E/oss/oss.c:178:        if (voss_has_synchronization !=3D 0 ||
=2E/null/null.c:71:       if (voss_has_synchronization =3D=3D 0)

shawn-framework-01[shawn]:/usr/src/usr.sbin/virtual_oss $ grep -rnF voss_ha=
s_synchronization
=2E/virtual_oss/int.h:249:extern int voss_has_synchronization;
=2E/virtual_oss/main.c:489:               if (voss_has_synchronization !=3D=
 0)
=2E/virtual_oss/main.c:492:                       voss_has_synchronization+=
+;
=2E/virtual_oss/main.c:524:               voss_has_synchronization--;
=2E/virtual_oss/main.c:1621:int   voss_has_synchronization;
=2E/virtual_oss/main.c:2244:                              if (c =3D=3D 'O' =
&& voss_has_synchronization =3D=3D 0)
=2E/virtual_oss/main.c:2245:                                      voss_has_=
synchronization++;
=2E/virtual_oss/Makefile:23:              -Wl,--export-dynamic-symbol=3Dvos=
s_has_synchronization
=3D=3D=3D=3D END LOG =3D=3D=3D=3D

I'm curious why the symbol exists in the main application, but not in
the library.

`readelf -s /usr/sbin/virtual_oss | grep voss_has_synchronization`
returns zero results, so I'm thinking that symbol might be getting
stripped out or omitted.

More research needed, but if anyone has any suggestions, please let me
know. Remember back in that "audio is horribly broken" thread where I
mentioned that audio is 100% broken for me and I wasn't sure the
underlying cause? I wonder if this could be part of it.

Thanks,

--=20
Shawn Webb
Cofounder / Security Engineer
HardenedBSD

Signal Username:  shawn_webb.74
Tor-ified Signal: +1 (719) 756-1197 / activist_opsec.27
https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A=
4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc

--yghgmm3xj7spxgfn
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJPBAABCAA5FiEEA6TL67gupaZ9nzhT/y5nonf44foFAmr8noIbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwzAAoJEP8uZ6J3+OH6HQYQAJm0b13eV2wFJgypfCiL
lEihwKrDy6db/8CwSDop7F/VHVCF9AfuUxWlnlunNWXtI+AVyCLBEShEqfOITe3l
zdouf4IKRETNm0+Wu5U8vrsPdsEvL+DX0hMpN7ImsMRCnzVf34nFC+eyW5AWeTfw
aiXp/r43bA687Q9nri6TVjD9mZvPYUKG1Qvmv7LKhU2adkI+Gvo76tOHtO4YqQq2
U3qXV6xios0/zF+3EZ9iQ8rZ/WY8GuEJPrkJvl0P9atUtUmm7gnbZJMvLoqOpRya
n1Lsc9PcZH1bqbvXxiNq8u6O49oShSsGpgRrSusPRuuM0PGjCi5gogW/tfczApj1
u1Mmh9aaeVSpjABGl1+rF5E2Y6+bf1FKrHEyQf6df5R6TvIfV6g/+TM7retYrRDz
kzlfo9nYNg9gF8Tw608JIqLXuuUQJM9DUqG2FTTxhvVdc1k3PzTwOXs51jT+bXwx
jizz09Z+rB0vjFG6luBSNcaTtutmFU2K5oplVgluf91jykazaZXiOe5IE0EsfaaK
D9UibTqXJeS+EncF2skkeSFdSWJdNNINZvbt1/A+qw4++e9gziFHOPiJKRFCcD9S
7O3c1dwm7HKVFagWT9IVgpod2OLe9zCGzNBXyURiES9XXXIIq04mYngMigtHqSel
uNHuUoxMKni083hp5ZCYbRTj
=B4jK
-----END PGP SIGNATURE-----

--yghgmm3xj7spxgfn--


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: virtual_oss library lacks at least one symbol
#228
Author: Christos Margiolis
Date: Mon, 23 Nov 2026 17:58
16 lines
3932 bytes
On Tue Nov 17, 2026 at 7:35 PM CET, Shawn Webb wrote:
> Hey all,
>
> HardenedBSD builds base userland with BIND_NOW, which is why I think
> we're hitting the following issue. The virtual_oss set of libraries
> reference a symbol named voss_has_synchronization, but that symbol
> doesn't seem to exist in the library.

Working on it. Will submit patches for review soon. Thanks.

Christos


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads