[Bug 215193] libc++ and libcxxrt: convert to a private library
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 18 Jun 2025 13:45:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215193
Dimitry Andric <dim@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dim@FreeBSD.org
--- Comment #11 from Dimitry Andric <dim@FreeBSD.org> ---
(In reply to Gleb Popov from comment #10)
I think the original idea was to make base libc++ private, link all base system
utilities to that one, and thus _prevent_ ports or external programs from using
it at all.
That would also entail removing /usr/include/c++, to prevent any external
programs from even attempting to include any of the private libc++ headers, and
only make these headers available in the buildworld tree.
It would force any external program to rely on a specific C++ library, and that
in turn would have to be installed from ports. In that case, people could
choose to link program A with devel/libc++XX, and program B with
devel/libc++YY, or even with devel/libstdc++ZZ.
In practice, this would likely lead to the same issues that people encounter
with the lang/gccXY ports, namely that mixing versions can result in unexpected
effects... :)
--
You are receiving this mail because:
You are the assignee for the bug.