https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124268
--- Comment #11 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <[email protected]>: https://gcc.gnu.org/g:c362a260ca203207309cf77a3928854cabf2ac01 commit r16-8118-gc362a260ca203207309cf77a3928854cabf2ac01 Author: Jonathan Wakely <[email protected]> Date: Wed Mar 11 21:05:13 2026 +0000 libstdc++: Add module initialization functions to the library [PR124268] This ensures that the module init functions are present in libstdc++.so and libstdc++.a, so that users of the std and std.compat modules don't need to manually link to std.o and/or std.compat.o in addition to compiling the CMIs. This also adds a clean-local target to remove the generated interface units and manifest, and the gcm.cache directory for the CMIs. libstdc++-v3/ChangeLog: PR libstdc++/124268 * config/abi/pre/gnu.ver: Export symbols. * src/Makefile.am: Add libmodulesconvenience.la to libstdc++ link. * src/Makefile.in: Regenerate. * src/c++23/Makefile.am: Create libmodulesconvenience.la and populate it with std.o and std.compat.o interface units. Add clean-local target. * src/c++23/Makefile.in: Regenerate. Reviewed-by: Tomasz KamiÅski <[email protected]>
