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)
Tue, Jan 27, 3:25 PM
Unknown Object (File)
Tue, Jan 27, 3:25 PM
Unknown Object (File)
Jan 3 2026, 4:24 PM
Unknown Object (File)
Dec 27 2025, 12:15 AM
Unknown Object (File)
Dec 13 2025, 3:06 AM
Unknown Object (File)
Dec 11 2025, 6:41 PM
Unknown Object (File)
Nov 16 2025, 11:01 AM
Unknown Object (File)
Nov 12 2025, 7:33 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 36824
Build 33713: arc lint + arc unit

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.