From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/12280 Path: news.gmane.org!.POSTED!not-for-mail From: ardi Newsgroups: gmane.linux.lib.musl.general Subject: Re: Feature request: building musl in a portable way Date: Fri, 22 Dec 2017 20:27:34 +0100 Message-ID: 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="UTF-8" X-Trace: blaine.gmane.org 1513970751 12532 195.159.176.226 (22 Dec 2017 19:25:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 22 Dec 2017 19:25:51 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-12296-gllmg-musl=m.gmane.org@lists.openwall.com Fri Dec 22 20:25:47 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 1eSSx0-0002zA-UO for gllmg-musl@m.gmane.org; Fri, 22 Dec 2017 20:25:47 +0100 Original-Received: (qmail 3250 invoked by uid 550); 22 Dec 2017 19:27:47 -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 3229 invoked from network); 22 Dec 2017 19:27:46 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=n1lTS4zaB1wALZi7uk8Ag74GVum5N8SFyJhea3DJyhw=; b=pBcc6fLjq0I0uVOVWbZoee2/NkGx/7fWxNoEXLPxOu7KMts69mTX2wjxSJN5Vq6aj8 mS226yVk8JVm2c/HyhS4DTVEpZjyO762J25Uok1HTFdtaAmEFpRdI3vmaKO9wDU2CoOw lkIcni+6Om3PXa2fhy3g4SV5uZsBBPzLCth35rkHQ6p6fnV1mBXPL4bPzXdqhsVR0+0Q +kX3wP2M1N/W3e9EnOT9sLyzxvGnT6iKu0BogdOe4ITpLCFRfLu4putTHY0AiR/6Jj3k MX8rAMeiVzJZqjuYtdGfTMn2saixmafdmLZ6Oe6atXi8EK86RcFCeAFPjfnE63QVBsYo RWXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=n1lTS4zaB1wALZi7uk8Ag74GVum5N8SFyJhea3DJyhw=; b=Mfo7ygKBXaw7xGwaSjQOnWt5+NYR989GDqcn1SQEd12LHWIfaHlwG211vBqfv9fY7E l9IAw/lyUKpbTfL8UOdKOnmz6dzfNc2EYp191sklHltFsIABE+IOyyyJKHVvf72Hxxyb Usz6xIY+pLloCYmu5kdL4ec0yQPWEA8jJ5WaXx/2J59eVqErfHEjK+CKLzxI6NdLTssm caZEPiyljhPtiUYO7FBjGDdR7cYqeckJkUh2G3qm1cfqippIx9zBzPDCvsKG8Unjgez9 7ChEtIbbn/oGd7LoQi71bKx0tNnxfnlWcqu6AT+2TPkqFenCP3x8qEM1cU6G/58CsvdQ R0lQ== X-Gm-Message-State: AKGB3mI1FDH2mczPHKmei34llPL61G7fBNTVieyeGLla9cDn9Uy+y7wI N1/t9xME4ir+n5v89eOIw1pCMzShrIuWLPIWb2I= X-Google-Smtp-Source: ACJfBouU5D3c9P5j8P2+q8R0e6dLkhF1iqfbNW0RMkLZGkSN2ur4lXzCoLu2wrtnhLUT1uMmCGHLodMzQv0Ny2Y66qA= X-Received: by 10.98.127.149 with SMTP id a143mr15517937pfd.65.1513970854927; Fri, 22 Dec 2017 11:27:34 -0800 (PST) In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:12280 Archived-At: On Fri, Dec 22, 2017 at 6:10 PM, Nicholas Wilson wrote: > [...] > If you insist on using Musl on MacOS, your route forwards would be to implement the Linux syscall ABI using MacOS syscalls, effectively emulating Linux on each platform where you want to run Musl. > > That's how we're using Musl on WebAssembly. Musl uses Linux syscalls, so we implement Linux syscalls to keep Musl happy. Exactly. I'm designing an embedded system (not web-related, though) and the thoughts are similar to what you describe (it will be open source if I succeed, so don't worry, you'll know if I succeed, and I'll keep a coward silence if I fail miserably :-)))) (BTW: don't worry, you didn't hijack the thread, your comments have been very instructive too) Thanks! ardi