|
Message-ID: <20150510021838.GM17573@brightrain.aerifal.cx> Date: Sat, 9 May 2015 22:18:38 -0400 From: Rich Felker <dalias@...c.org> To: musl@...ts.openwall.com Subject: Re: Should we support (not use, support) symbol versioning? On Sat, May 09, 2015 at 09:03:59PM -0400, Rich Felker wrote: > What we could possibly do, however, is honor the version requested > whenever the library being searched has version information. This > would allow third-party libraries that want to use versioning to do so > while also allowing unversioned libraries to satisfy any program or > library using them (and work correctly as long as it's using the > latest version API, just like now). However I'm mildly concerned that > symbol version tables could get introduced into libraries that don't > want them (including into libc.so) which would then horribly break > things, e.g. if any of libgcc.a's symbols were versioned (in principle > this should not happen, because they're all supposed to be hidden, but > I'm not really happy relying on that). This risk is eliminated just by adding ldso.versym=0; after decode_dyn(&ldso) in the dynamic linker code, to ensure that any version tables that happen to creep into libc.so/ldso are ignored. Rich
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.