This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: PR3042
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: PR3042
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Sun, 10 Jun 2001 16:53:05 -0400
- cc: Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr, bkoz at nabi dot net, jason at cygnus dot com, libstdc++ at gcc dot gnu dot org
There is no difference between Jason's and my proposal. COMMON
symbols in shared libraries works on AIX with the correct linker options.
Note that this only is a problem with shared libraries because COMMON
works just fine with static linking. Your proposal would change G++
semantics on AIX and other non-WEAK platforms even for the normal case of
static libraries and static linking.
Your proposal breaks G++ compatibility with IBM's compilers in a
gratuitous way. I also have discussed your proposal with members of IBM's
compiler development organization. All feedback was that your proposal
was incorrect and courting trouble.
I am at a disadvantage in this discussion because I am not
familiar enough the C++ standard and the terminology of the standard. I
do not know how to get you and Gaby to stop fixating on implicit
instantiation requirements and look at the broader precedent among
compilers for flexibility with respect to template instantiation versus
static class members.
Having "static" stop working for static libraries seems like more
surprise to me, not less.
David