WEDNESDAY, MARCH 11, 2026
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.