This is the mail archive of the gcc-patches@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]

[PATCH] One more libstdc++ ABI compatibility fix


Hi!

I still get
1 missing symbols
        1
        symbol
        _ZNSbIwSt11char_traitsIwESaIwEE12_S_constructEmwRKS1_
        demangled symbol
        std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_S_construct(unsigned long, wchar_t, std::allocator<wchar_t> const&)
on IA-64/Alpha on gcc-3_2-rhl8-branch (libstdc++ identical
to gcc-3_2-branch).
The following patch (well, just first hunk) should fix it, will bootstrap
on IA-64 in a minute.
Ok to commit (3.2 branch, head)?

2002-11-16  Jakub Jelinek  <jakub@redhat.com>

	* config/linker-map.gnu: Export _S_construct even if size_t is
	unsigned long.  Collapse std::codecvt<char>::codecvt(size_t)
	and std::codecvt<wchar_t>::codecvt(size_t) into one export pattern.

--- libstdc++-v3/config/linker-map.gnu.jj	2002-11-14 00:54:56.000000000 +0100
+++ libstdc++-v3/config/linker-map.gnu	2002-11-16 22:31:59.000000000 +0100
@@ -88,7 +88,7 @@ GLIBCPP_3.2 {
     _ZNSbIwSt11char_traitsIwESaIwEE[0-9]_[A-Ra-z]*;
     _ZNSbIwSt11char_traitsIwESaIwEE[0-9][0-9]_[A-Ra-z]*;
     _ZNSbIwSt11char_traitsIwESaIwEE13_S_copy_chars*;
-    _ZNSbIwSt11char_traitsIwESaIwEE12_S_constructEjwRKS1_;
+    _ZNSbIwSt11char_traitsIwESaIwEE12_S_constructE[jm]wRKS1_;
     _ZNSbIwSt11char_traitsIwESaIwEE12_S_empty_repEv;
     _ZSt24__uninitialized_copy_auxIN9*;
     _ZSt26__uninitialized_fill_n_aux*;
@@ -105,10 +105,7 @@ GLIBCPP_3.2 {
     # std::codecvt<char>::~codecvt
     _ZNSt7codecvtIcc11__mbstate_tED*;
     # std::codecvt<char>::codecvt(size_t), where size_t variable.
-    _ZNSt7codecvtIcc11__mbstate_tEC1Ej;
-    _ZNSt7codecvtIcc11__mbstate_tEC2Ej;
-    _ZNSt7codecvtIcc11__mbstate_tEC1Em;
-    _ZNSt7codecvtIcc11__mbstate_tEC2Em;
+    _ZNSt7codecvtIcc11__mbstate_tEC[12]E[jm];
     # std::codecvt<char>::id
     _ZNSt7codecvtIcc11__mbstate_tE2idE;
 
@@ -117,10 +114,7 @@ GLIBCPP_3.2 {
     # std::codecvt<wchar_t>::~codecvt
     _ZNSt7codecvtIwc11__mbstate_tED*;
     # std::codecvt<wchar_t>::codecvt(size_t), where size_t variable.
-    _ZNSt7codecvtIwc11__mbstate_tEC1Ej;
-    _ZNSt7codecvtIwc11__mbstate_tEC2Ej;
-    _ZNSt7codecvtIwc11__mbstate_tEC1Em;
-    _ZNSt7codecvtIwc11__mbstate_tEC2Em;
+    _ZNSt7codecvtIwc11__mbstate_tEC[12]E[jm];
     # std::codecvt<wchar_t>::id
     _ZNSt7codecvtIwc11__mbstate_tE2idE;
 

	Jakub


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