This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: LSB patch to gcc 3.3 tree
- From: Michael Matz <matz at suse dot de>
- To: Gabriel Dos Reis <gdr at acm dot org>
- Cc: Doug Beattie <dbb at beatties dot us>, gcc-patches at gcc dot gnu dot org,mats dot d dot wichmann at intel dot com, anderson at freestandards dot org,dbb at freestandards dot org
- Date: Tue, 29 Jun 2004 00:58:30 +0200 (CEST)
- Subject: Re: LSB patch to gcc 3.3 tree
- References: <20040628205604.GF14453@beatties.us><32889.::ffff:128.194.146.36.1088456910.squirrel@webmail.nerim.net>
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;