This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/48698] gnu-versioned-namespace problems


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]