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)
Wed, Oct 15, 6:28 AM
Unknown Object (File)
Tue, Oct 14, 5:17 PM
Unknown Object (File)
Tue, Oct 14, 5:17 PM
Unknown Object (File)
Tue, Oct 14, 5:17 PM
Unknown Object (File)
Tue, Oct 14, 4:55 AM
Unknown Object (File)
Fri, Sep 19, 12:45 AM
Unknown Object (File)
Wed, Sep 17, 11:00 PM
Unknown Object (File)
Sep 3 2025, 5:51 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.