[Bug libstdc++/24660] versioning weak symbols in libstdc++

bkoz at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Dec 14 07:23:00 GMT 2005



------- 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



More information about the Gcc-bugs mailing list