From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13870 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: u-uy74@aetey.se Newsgroups: gmane.linux.lib.musl.general Subject: Re: ABI compatibility between versions Date: Tue, 26 Feb 2019 12:55:12 +0100 Message-ID: <20190226115512.GJ22812@example.net> References: <20190226003353.GP23599@brightrain.aerifal.cx> <20190226095837.GC21289@port70.net> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="113053"; mail-complaints-to="usenet@blaine.gmane.org" To: musl@lists.openwall.com Original-X-From: musl-return-13886-gllmg-musl=m.gmane.org@lists.openwall.com Tue Feb 26 12:55:55 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 1gybL0-000TKA-Nd for gllmg-musl@m.gmane.org; Tue, 26 Feb 2019 12:55:54 +0100 Original-Received: (qmail 19698 invoked by uid 550); 26 Feb 2019 11:55:52 -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 19678 invoked from network); 26 Feb 2019 11:55:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=x.fripost.org; h= in-reply-to:content-disposition:content-type:content-type :mime-version:references:message-id:subject:subject:from:from :date:date; s=9df9cdc7e101629b5003b587945afa70; t=1551182140; x= 1552996541; bh=9JnbuY4BqdU5afqTM+N0RnSF9DcnIqU0eb5iW6wbp1g=; b=l q3u7uZXN0hkjdFPCAgJV6pslIdYd/YDsOuE5zmxBkVI0URzhzwL0xGJxgI7Vl6Se nLbzIwAuV/zRee0EENeRQauuyo/gC7nWzlVmcXN5hTxvNzvnKwXbq6checEEUAur +24R7wF6z48pGUG7UVH9fpRJVcO0eUHkKKh9OdpaSYjsoMYAh0/1ZyIj9bDKaRpq BaNlDkLC8n76W2MGghdn+fvKuYqM7vyjT6QHVdQcSnCXd7vrc1zI4ADJ4VbEssTm /uAUyT44j6jEwgaORm9kzUE8yg5YnWEzMYuEJUX8Ct664frkr7pA2Bm7Jf3PLI4S i9S+1/bv0cN4ZbrFW59iA== X-Virus-Scanned: Debian amavisd-new at fripost.org Content-Disposition: inline In-Reply-To: <20190226095837.GC21289@port70.net> Xref: news.gmane.org gmane.linux.lib.musl.general:13870 Archived-At: On Tue, Feb 26, 2019 at 10:58:38AM +0100, Szabolcs Nagy wrote: > other than the bug compatibility, a difference between the > two approaches is that glibc may do certain abi breaking > changes while keeping old binaries work, that musl cant do. I feel this statement is unfair to musl. AFAICS symbol versioning does not allow "breaking" the ABI, but *extending* it with new entry points (made to look like the old ones in the API, which makes the old ones inaccessible via the API). This is also exactly what musl can do, extend the ABI. The difference is how to reflect those changes in the API. Keeping the old API on top of a subset of the occasionally extended ABI is what glibc does and musl does not. Regarding old binaries API stability is irrelevant. Rune