This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [build, doc, v3] Support Sun symbol versioning in libstdc++-v3, rev. 2
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Paolo Carlini <paolo dot carlini at oracle dot com>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org, Paolo Bonzini <bonzini at gnu dot org>
- Date: Thu, 01 Jul 2010 12:19:33 +0200
- Subject: Re: [build, doc, v3] Support Sun symbol versioning in libstdc++-v3, rev. 2
- References: <yddwrtgwc9w.fsf@manam.CeBiTec.Uni-Bielefeld.DE> <4C2C61C1.5030600@oracle.com>
Hi Paolo,
> I didn't study the v3 bits in any detail, but it looks good to me, and
> consistent with the plans. Can you confirm that for non-solaris targets
> no changes whatsoever are expected?
right: the patch only adds a new versioning type (sun), to be used only
on Solaris 2 with Sun ld, and disables GNU-style symbol renaming on
Solaris even with GNU ld. This is done via comments in the version maps
that look like cpp conditionals and are only processed by an sed
one-liner when generating the version map. Additionaly, a couple of
.symver directives are disabled, controlled by the same conditional, to
make sure the versions stay the same with Sun ld and GNU ld.
> I say, please wait one more day to be safe, and then the v3 bits are
> approved to go in.
Great, thanks.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University