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 19:33:16 -0400
- cc: gdr at codesourcery dot com, 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
>>>>> Mark Mitchell writes:
Mark> Right now, the former does not allocate storage, while the latter
Mark> does. Under my poposal, neither would llocate storage.
Right now on AIX:
The application which includes the header allocates COMMON storage in the
BSS section. The library, which performs some explicit instantiations,
allocates a STRONG symbol and storage in the data section.
If there never was an explicit instantiation, the BSS storage
allocation exists and would be used (which is exactly the sharing problem
with default AIX linking semantics for shared libraries that is causing
the errors).
David