On Thu, 18 Apr 2024 at 20:51, Jonathan Wakely wrote: > > This completes the fixes to put all experimental symbols into > libstdc++exp.a. > > On trunk the libstdc++_libbacktrace.a was removed completely and its > contents aded to libstdc++exp.a instead. We don't want to do that on the > gcc-13 branch because it will break makefiles using it. We can add the > contents to libstdc++exp.a and then install a symlink so that > -lstdc++_libbacktrace still works, but links to libstdc++exp.a instead. It looks like simply duplicating all the libstdc___libbacktrace_FOO variables in libbacktrace/Makefile.am does work (see attached patch), so that we get an installed libstdc++_libbacktrace.a and a not-installed libstdc++_libbacktraceconvenience.a which gets included into the installed libstdc++exp.a So if that's preferable to making the installed libstdc++_libbacktrace.a a symlink, we can do that. I still kinda like the symlink approach, because it reduces the size on disk, and the same approach could be used to get rid of libstdc++fs.a without breaking makefiles using -lstdc++fs