Subject: Re: RTLD_GLOBAL breakage in -current
To: Paul Kranenburg <pk@cs.few.eur.nl>
From: Todd Vierling <tv@pobox.com>
List: tech-toolchain
Date: 07/14/1998 17:29:16
On Tue, 14 Jul 1998, Paul Kranenburg wrote:
: Strictly speaking, this is not enough to guarantee binary compatibility
: in all cases, since object files and libraries may exist that were
: compiled under the old conditions. Those should be recompiled.
: The RTLD_LOCAL flag came in per `XSH98'. It seems logical we consult that
: document for an acceptable default behaviour.
If neither RTLD_GLOBAL nor RTLD_LOCAL are specified, then an
implementation-specified default behaviour will be applied.
I propose that we change the default back to RTLD_GLOBAL to keep both source
and binary compatibility, and have RTLD_LOCAL be the bit option that changes
the default. This will also have the fortunate effect of not having to
recompile binaries compiled with the existing crt0.o.
--
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)