This is the mail archive of the
mailing list for the GCC project.
Re: Duplicate data objects in shared libraries
>>>>> "Mark" == Mark Mitchell <email@example.com> writes:
> I think that the ABI specifies the name -- even for the local class in
> the method with static linkage
>> I think that being able to write plugins in C++ is important, and a
> I guess I just don't think that using RTLD_LOCAL is the only reasonable
> way to do it.
The problem is that the use of RTLD_LOCAL is not under the control of the
plugin writer. And in any case, I think that using RTLD_LOCAL is
appropriate for plugins; we don't want f() in one overriding f() in