From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/13232 Path: news.gmane.org!.POSTED!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: string-backed FILEs mess Date: Wed, 12 Sep 2018 12:35:46 -0400 Message-ID: <20180912163546.GY1878@brightrain.aerifal.cx> References: <20180912140239.GV1878@brightrain.aerifal.cx> <20180912150941.GB13976@voyager> <14756f9f-061c-d707-b93a-c3eda1cf2d9c@adelielinux.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1536770034 7261 195.159.176.226 (12 Sep 2018 16:33:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 12 Sep 2018 16:33:54 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-13248-gllmg-musl=m.gmane.org@lists.openwall.com Wed Sep 12 18:33:50 2018 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.84_2) (envelope-from ) id 1g085O-0001mI-4j for gllmg-musl@m.gmane.org; Wed, 12 Sep 2018 18:33:50 +0200 Original-Received: (qmail 28180 invoked by uid 550); 12 Sep 2018 16:35:59 -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 28161 invoked from network); 12 Sep 2018 16:35:58 -0000 Content-Disposition: inline In-Reply-To: <14756f9f-061c-d707-b93a-c3eda1cf2d9c@adelielinux.org> Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:13232 Archived-At: On Wed, Sep 12, 2018 at 10:55:45AM -0500, A. Wilcox wrote: > On 09/12/18 10:09, Markus Wichmann wrote: > > I don't know how important the glibc-compat still is for people. I don't > > need it, but then, I have glibc available if necessary. And with Steam > > moving to Linux, closed-source software is certainly going to be on the > > rise for Linux/PC (i.e. Linux/i386 and Linux/amd64). Which is going to > > be a problem for musl-based distributions, if they want to support that. > > > Genuinely, I used it every day I had an x86_64 box. Spotify was the > main reason (the Qt 4 app; NOT the CEF/chrome-based piece of ****). Of > course, now that I trashed my last x86 and am surrounded by better cores > (almost exclusively PowerPC, with some ARM and MIPS for good measure), > glibc ABI compat is almost worthless. > > However, that's what https://code.foxkit.us/adelie/gcompat/ is for > anyway. Since it uses LD_PRELOAD, we could probably overwrite the > entirety of stdio with something compatible with glibc if necessary. As described in the post Markus was replying to, this is a non-issue. If the design were going to break compat it would just put must-be-zero fields over top of the old glibc positions so that they'd always force an actual function call. This would actually reduce the ABI surface down from actual field values and their interpretation to a mere contract that certain bytes be all-zeros. Rich