This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/48698] gnu-versioned-namespace problems
- From: "bkoz at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 23 Sep 2011 03:47:55 +0000
- Subject: [Bug libstdc++/48698] gnu-versioned-namespace problems
- Auto-submitted: auto-generated
- References: <bug-48698-4@http.gcc.gnu.org/bugzilla/>
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