[Bug libstdc++/48698] gnu-versioned-namespace problems
bkoz at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Sep 23 07:27:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48698
--- Comment #2 from Benjamin Kosnik <bkoz at gcc dot gnu.org> 2011-09-23 03:47:55 UTC ---
Created attachment 25346
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25346
patch
You are correct Here's a patch that fixes it.
The real issue is that now, linking libstdc++ is required for stage 1. To solve
the issue of libstdc++ with versioned namespaces being built with this
requirement mandates versioned namespaces changing the SO version to 7.
This patch does this.
However, it is not configurable. Instead, it is hard-wired. I plan on fixing
this in a subsequent patch. This will mean configuring with
--enable-symvers=gnu-namespace triggers libstdc++.so == 7. Thoughts,
suggestions, or comments on this approach?
-benjamin
More information about the Gcc-bugs
mailing list