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]

Re: LSB patch to gcc 3.3 tree


Hi,

On Mon, 28 Jun 2004, Gabriel Dos Reis wrote:

> > Gaby said "It is the patch that exposes the necessary symbols, already
> > applied to gcc-3_4-branch.   Therefore, my approval is a "line-up"."
> >
> > Information on this is available at: http://www.linuxbase.org/~anderson/
> > You can obtain the patch by clicking on the link titled "C++ ABI Test
> > tool".
> >
> > I've cc'd Stuart so he will know this has been done and can also be
> > reached to respond to and technical questions the list may have.
> 
> Thanks for doing this.  The patch in question is in the
> README file.  I copy-and-paste it here for completeness.

Or, if someone wants to see an applyable and tested patch (for 3.3
branch), it's below.  The only question I think is if those are the right
symversions.  Such patch can't have been applied to 3.4 (as LSB people
seem to think) as 3.4 uses completely different symversions (GLIBCXX_3.4
instead GLIBCPP_3*, and CXXABI_1.3 (no 1.2 inheritance) instead
CXXABI_1.2).


Ciao,
Michael.
-- 
--- libstdc++-v3/config/linker-map.gnu
+++ libstdc++-v3/config/linker-map.gnu
@@ -399,6 +399,12 @@
 
   _ZNSt9basic_iosI[cw]St11char_traitsI[cw]EE11_M_setstateESt12_Ios_Iostate;
 
+  # For LSB 2.0
+  # std::__ctype_abstract_base*
+  _ZNSt21__ctype_abstract_base*;
+  # std::__codecvt_abstract_base*
+  _ZNSt23__codecvt_abstract_base*;
+
 } GLIBCPP_3.2.3;
 
 # Symbols in the support library (libsupc++) have their own tag.
@@ -468,3 +474,9 @@
     __cxa_guard_abort;
 
 } CXXABI_1.2;
+
+CXXABI_1.2.2 {
+   _ZN10__cxxabiv1*;
+   _ZNK10__cxxabiv1*;
+   _ZN9__gnu_cxx*;
+} CXXABI_1.2.1;


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