From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/12275 Path: news.gmane.org!.POSTED!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Feature request: building musl in a portable way Date: Fri, 22 Dec 2017 12:49:22 -0500 Message-ID: <20171222174922.GC1627@brightrain.aerifal.cx> References: <20171221213822.GY1627@brightrain.aerifal.cx> 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 1513964862 30765 195.159.176.226 (22 Dec 2017 17:47:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 22 Dec 2017 17:47:42 +0000 (UTC) User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-12291-gllmg-musl=m.gmane.org@lists.openwall.com Fri Dec 22 18:47:38 2017 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 1eSRPy-0007R4-UE for gllmg-musl@m.gmane.org; Fri, 22 Dec 2017 18:47:35 +0100 Original-Received: (qmail 24365 invoked by uid 550); 22 Dec 2017 17:49:35 -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 24345 invoked from network); 22 Dec 2017 17:49:34 -0000 Content-Disposition: inline In-Reply-To: Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:12275 Archived-At: On Fri, Dec 22, 2017 at 05:10:20PM +0000, Nicholas Wilson wrote: > That's how we're using Musl on WebAssembly. Musl uses Linux > syscalls, so we implement Linux syscalls to keep Musl happy. A bit of a historical note on this: in the late 80s and 90s there was an effort called "iBCS" to make a unified ABI for Intel-based unices. I believe a common syscall layer was part of it. It was abandoned after everybody realized that the Linux syscall ABI _was_, for all practical purposes, the unified ABI they wanted. Rich