SUNDAY, APRIL 19, 2026 GCC DIGEST · OPEN-SOURCE SYSTEMS DAILY VOL. 1 · NO. 109
Late Edition · APRIL 19, 2026 · VOL. 1 · NO. 109
The GCC Digest
— A Daily Record of the GNU Compiler Collection —
libstdc++ Impact 7 / 10

Libstdc++: Ensure module initialization functions are present in the library.

Adds module initialization functions to libstdc++.so and libstdc++.a, ensuring users of std and std.compat modules don't need manual linking.

This commit aims to ensure that the module initialization functions are present in libstdc++.so and libstdc++.a. This prevents users of the std and std.compat modules from needing to manually link to std.o and/or std.compat.o. To avoid breaking bootstrap on some platforms, the commit allows the module compilation to fail, in which case an empty translation unit will be used instead.

Filed Under: libstdc++modulesC++23linking