This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: PATCH: Treat RTLD_LOCAL like Solaris (Re: Duplicate dataobjects in shared libraries)
- From: Jason Merrill <jason at redhat dot com>
- To: Ulrich Drepper <drepper at redhat dot com>
- Cc: David Abrahams <david dot abrahams at rcn dot com>,"H . J . Lu" <hjl at lucon dot org>,"Martin v. Loewis" <martin at v dot loewis dot de>,"Ralf W. " Grosse-Kunstleve <rwgk at cci dot lbl dot gov>,GNU C Library <libc-alpha at sources dot redhat dot com>, gcc at gcc dot gnu dot org,Jason Merrill <jason at redhat dot com>
- Date: Fri, 31 May 2002 01:15:27 -0400
- Subject: Re: PATCH: Treat RTLD_LOCAL like Solaris (Re: Duplicate dataobjects in shared libraries)
- References: <76260000.1021912729@warlock.codesourcery.com><wvlhel2ocz3.fsf@prospero.cambridge.redhat.com><60630000.1021922077@gandalf.codesourcery.com><00ba01c20035$805388a0$6601a8c0@boostconsulting.com><wvln0uumvqt.fsf@prospero.cambridge.redhat.com><08b101c201f0$d511fd60$6601a8c0@boostconsulting.com><wvloff7ea9a.fsf@prospero.cambridge.redhat.com><20020529130945.A16909@lucon.org><039401c20759$a3ba1400$6601a8c0@boostconsulting.com><wvl8z615rsz.fsf@prospero.cambridge.redhat.com><1022790116.22692.205.camel@myware.mynet><wvlit54530i.fsf@prospero.cambridge.redhat.com>
>>>>> "Jason" == Jason Merrill <jason@redhat.com> writes:
> Interestingly, SGI CC 7.30 passes the test, even though it also uses the
> EDG frontend. I'll investigate why; I'm guessing dlopen works differently
> on Irix.
The EDG frontend uses address comparison of common symbols, rather than
weak; for some reason, this seems to work under Irix. This could have
something to do with the COMMON/MIPS_ACOMMON distinction in nm output
between the defs in the users and library, respectively.
Weak symbols seem to work about the same as under Linux.
Jason