https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124268

--- Comment #23 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jonathan Wakely from comment #14)
> (In reply to Jonathan Wakely from comment #12)
> > Fixed on trunk, but I suppose this would be good to do for 15.3 as well.
> 
> Actually, we can't do it for 15.x because it needs new symbols in the DSO
> and we can't add those now.

Ben, how much of an issue is this for CMake's 'import std' support?

We could add the module init functions to libstdc++exp.a so that -fmodules
-lstdc++exp would work in GCC 15, or add some new .a that only contains the
module init functions. We just can't add them to libstdc++.so so that they're
found automatically.

I'm not sure if it's worth bothering though, given the number of other modules
bugs that are not fixed in GCC 15.

Reply via email to