This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/24660] versioning weak symbols in libstdc++
- From: "bkoz at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Dec 2005 07:23:55 -0000
- Subject: [Bug libstdc++/24660] versioning weak symbols in libstdc++
- References: <bug-24660-365@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #19 from bkoz at gcc dot gnu dot org 2005-12-14 07:23 -------
Created an attachment (id=10483)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10483&action=view)
libstdc++ patch v5
Config not quite 100% correct, but good enough.
This moves all debug mode stuff to nested within std. In addition, there is a
version mode too, which versions all of namespace std.
To get to the versioned mode, configure with
--enable-symvers=gnu-versioned-namespaces
In addition, the generated c++config.h has to uncomment:
// #define _GLIBCXX_NAMESPACE_ASSOCIATION_VERSION 1
Without versioned mode, there are no new fails. I'm still testing with the
debug mode turned on.
With versioned mode, there are two new fails.
Still, not so bad, not so bad.
Kind of a mouthful at the moment.
--
bkoz at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #10130|0 |1
is obsolete| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24660