Page MenuHomeFreeBSD

libpmc: fix linking with C programs
ClosedPublic

Authored by asomers on Feb 9 2021, 4:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 12, 8:37 AM
Unknown Object (File)
Thu, Mar 12, 6:54 AM
Unknown Object (File)
Thu, Mar 12, 1:49 AM
Unknown Object (File)
Wed, Mar 11, 7:41 PM
Unknown Object (File)
Thu, Mar 5, 1:09 PM
Unknown Object (File)
Wed, Mar 4, 9:44 PM
Unknown Object (File)
Fri, Feb 27, 3:32 PM
Unknown Object (File)
Jan 27 2026, 3:25 PM
Subscribers

Details

Summary

Revision r334749 Added some C++ code to libpmc. It didn't change the ABI,
but it did introduce a dependency on libc++. Nobody noticed because every
program that in the base system that uses libpmc is also C++.

Reported-by: Dom Dwyer <dom@itsallbroken.com>

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Feb 15 2021, 10:01 PM
This revision was automatically updated to reflect the committed changes.