PR3042

David Edelsohn dje@watson.ibm.com
Sun Jun 10 16:34:00 GMT 2001


>>>>> 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



More information about the Libstdc++ mailing list