From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13661 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Florian Weimer Newsgroups: gmane.linux.lib.musl.general Subject: Re: Symbol versioning approximation trips on compat symbols Date: Mon, 28 Jan 2019 07:34:25 +0100 Message-ID: <87bm41xpce.fsf@oldenburg2.str.redhat.com> References: <87r2d5evvi.fsf@oldenburg2.str.redhat.com> <20190124014340.GV23599@brightrain.aerifal.cx> <20190124110931.GU21289@port70.net> <87sgxi718r.fsf@oldenburg2.str.redhat.com> <20190127040424.GA23599@brightrain.aerifal.cx> <20190127093650.GB30123@example.net> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="80322"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: musl@lists.openwall.com To: u-uy74@aetey.se Original-X-From: musl-return-13677-gllmg-musl=m.gmane.org@lists.openwall.com Mon Jan 28 07:34:49 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1go0VJ-000Kgc-Qn for gllmg-musl@m.gmane.org; Mon, 28 Jan 2019 07:34:45 +0100 Original-Received: (qmail 13906 invoked by uid 550); 28 Jan 2019 06:34:43 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 13883 invoked from network); 28 Jan 2019 06:34:42 -0000 In-Reply-To: <20190127093650.GB30123@example.net> (u-uy's message of "Sun, 27 Jan 2019 10:36:50 +0100") X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Mon, 28 Jan 2019 06:34:30 +0000 (UTC) Xref: news.gmane.org gmane.linux.lib.musl.general:13661 Archived-At: * u-uy: > On Sat, Jan 26, 2019 at 11:04:24PM -0500, Rich Felker wrote: >> For what it's worth, compat symbols would have let us remove symbols >> that shouldn't have been put in musl, such as lchmod (which confuses >> broken apps which wrongly expect that, if it exists, it should work) > > For what my integrator perspective is worth, exposing brokenness instead > of catering for it is a Good Thing. > > Feature detection is one of the typical areas being messed up, in numerous > softwares. > > Thanks musl for exposing the pitfalls and forcing upstreams think better. As I explained, precisely that is not the case because the main musl user, Alpine Linux, builds musl with a broken toolchain that is not properly targeted to musl's features. I think the official musl instructions have the same result. So far, no one has presented a compelling way how to test for symbol versioning support. Thanks, Florian