This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PR3042


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]