Page MenuHomeFreeBSD

mixer(3): add symbol versioning
ClosedPublic

Authored by christos on Oct 1 2021, 10:20 AM.
Referenced Files
Unknown Object (File)
Sat, Nov 9, 8:51 AM
Unknown Object (File)
Oct 12 2024, 12:15 PM
Unknown Object (File)
Sep 27 2024, 4:04 PM
Unknown Object (File)
Sep 27 2024, 4:14 AM
Unknown Object (File)
Sep 24 2024, 4:33 AM
Unknown Object (File)
Sep 24 2024, 12:44 AM
Unknown Object (File)
Sep 23 2024, 4:15 PM
Unknown Object (File)
Sep 22 2024, 11:52 PM
Subscribers
None

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

christos created this revision.
hselasky added inline comments.
lib/libmixer/Symbol.map
23

macros don't belong here.

lib/libmixer/Makefile
9

The MLINKS should probably be an own patch.

christos marked 2 inline comments as done.

Remove macros and MLINKS.

This revision is now accepted and ready to land.Oct 1 2021, 10:28 AM
lib/libmixer/Symbol.map
6

No, we do not do it this way. Please look at other libs with symbol version used, for instance libprocstat which seems to be a good example.

There is a single namespace per release, for 14 it is FBSD_1.7. So put the lib' symbols under this version. Versions are defined in lib/libc/Versions.def, again please take a look at libprocstat/Makefile how to reference it.

Also, formally to keep ABI backward compatible we would need to bump libmixer so version, but I do not see a point to go through this relatively painful procedure for head-only library still under development.

christos marked an inline comment as done.

Fix namespace and referencing.

This revision now requires review to proceed.Oct 1 2021, 10:55 AM
This revision is now accepted and ready to land.Oct 1 2021, 10:58 AM

I also pushed the MLINKS chunks separately.l