From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/12220 Path: news.gmane.org!.POSTED!not-for-mail From: Nicholas Wilson Newsgroups: gmane.linux.lib.musl.general Subject: WebAssembly - working minimal support Date: Thu, 7 Dec 2017 15:48:01 +0000 Message-ID: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1512661697 28029 195.159.176.226 (7 Dec 2017 15:48:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 7 Dec 2017 15:48:17 +0000 (UTC) To: "musl@lists.openwall.com" Original-X-From: musl-return-12236-gllmg-musl=m.gmane.org@lists.openwall.com Thu Dec 07 16:48:12 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 1eMyPD-000770-Hf for gllmg-musl@m.gmane.org; Thu, 07 Dec 2017 16:48:11 +0100 Original-Received: (qmail 9902 invoked by uid 550); 7 Dec 2017 15:48:16 -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 9868 invoked from network); 7 Dec 2017 15:48:16 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=realvnc.onmicrosoft.com; s=selector1-realvnc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=kMKaDdm8W3zgj0+tAeSeZdCpcXTa4Oiq8QxpnlLViG4=; b=pdqeKIQxRujItYlZIzHcDoHV6nKMRTkkJRKXWcvsJNCGzwsqjV4FaA9WWEo9U0+08kUhe1pMUS7p1RNJET13B73WVLwLVuCdFKw6AdStjgJjL34al/XsqXRrvhx2o1snkz1HfcaWDBXcCTv78/A42JqaRKH4IdeMgTeUIki+YzM= Thread-Topic: WebAssembly - working minimal support Thread-Index: AQHTb3JMGi+z8gcack+gRw1Mzc341A== Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [2a02:390:a001:192:d6be:d9ff:fe9c:1892] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;VI1PR0502MB3886;6:FdGHdrN3Fq0UdyiAK1VLusBnUa53TgMpCDCdbCphcADfajg3cEbRo94cs14ETfT6ZQme/FnyCelEpl1w2pSwoQ5N397BAp8RVvAVApX6piORLOAsrqq7VZEUOK6RSLHJtPfm4+6Y47icCSrk2iXinQ5ZEAQ169mQ4ophKH+Hbzo3qC0MQlFYNF+lBuI2NnXGrW5WyQgumtsN+1ADtDVOGLIi5ktHEUQvK6GVjrYoAeqPcX0XIPx9ThCKFtN47V74T2NFjgJFFhfX7MZK+oixlO+x1eMaT6cHTMy/xOAA1uiV/MlVud5bINCUu8hjL/fAj8TMpt+FXkJ1mQ4CXNw/pBBBI9R9pLsMsSS+YLx3POQ=;5:wIK9rh88MXDRySZYJW9iLN8qybekkwnjW8iPO+81UIl5y53nw0T6f7wSS7tDWcLofSi0QTtyr9Du+tnEJmVliZZ095h07dqzinZ0iVUnoupUBrZsfhvZLLIXpV1mycnT9S6cOpu1pUT493IjJCbwwbyqg+2ekRoH5epA3WXbzeU=;24:Hz9KLn3rfyIcE2WFyJLXrvKaoAK1VuWe9Jmpvi9f25677Yb4AA4Y1jeMSDVlcLPmr6H8l7oOCYB+9M/kV1VzR1ksJuR/ngqpNHYdRBeKSC0=;7:mlJXvqe31fd1i415KhP3/BKWHa7q17jNDYQBudAG46dY8oERpQRh5HB2XvTWWWzH3YZr+nW4A7H1shBkU/CdCvDEpiEo 9XHhfj9HnjebMTeFXLS1uwAKlKufrkJAphcrWf7XYEJU0PEu3/d6zUQWIhw7YnY8/7/xGlp7z3uYrb6tRp1X6zQGMamEi/UH2Y x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: c4d188e9-7d24-491e-4a92-08d53d89e57d x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(5600026)(4604075)(4534020)(4602075)(4603075)(4627115)(201702281549075)(2017052603286);SRVR:VI1PR0502MB3886; x-ms-traffictypediagnostic: VI1PR0502MB3886: authentication-results: spf=none (sender IP is ) smtp.mailfrom=nicholas.wilson@realvnc.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(166708455590820); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040450)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3002001)(3231022)(6041248)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(2016111802025)(20161123555025)(20161123558100)(20161123564025)(20161123560025)(6043046)(6072148)(201708071742011);SRVR:VI1PR0502MB3886;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:VI1PR0502MB3886; x-forefront-prvs: 05143A8241 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(979002)(346002)(366004)(376002)(199004)(189003)(97736004)(9686003)(2900100001)(86362001)(2501003)(6306002)(2351001)(5250100002)(33656002)(7696005)(105586002)(316002)(106356001)(14454004)(74316002)(5640700003)(3660700001)(8936002)(99286004)(53936002)(3280700002)(68736007)(6436002)(966005)(101416001)(25786009)(478600001)(55016002)(81156014)(2906002)(102836003)(305945005)(81166006)(8676002)(1730700003)(6506006)(5660300001)(6916009)(7736002)(6116002)(969003)(989001)(999001)(1009001)(1019001);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0502MB3886;H:VI1PR0502MB3885.eurprd05.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: realvnc.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM X-MS-Exchange-CrossTenant-Network-Message-Id: c4d188e9-7d24-491e-4a92-08d53d89e57d X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Dec 2017 15:48:01.1863 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 9ad766d3-c6a5-4458-8c58-244e7c118728 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3886 X-OriginatorOrg: realvnc.com Xref: news.gmane.org gmane.linux.lib.musl.general:12220 Archived-At: Hi, I send a message last week with some progress on WebAssembly support. I've = done some more testing and fleshed it out a bit more. Basically all the changes are nicely self-contained in arch/wasm, and src/i= nternal/wasm. I resolved the issue with mmap/sbrk as discussed last week, by adding mmap = support and returning ENOSYS in sbrk. The patch is 2000 lines, so rather than email it I've just pushed it to Git= Hub so it's visible. My current progress is here: https://github.com/NWilson/musl/pull/1 It's not urgent to have Wasm merged, but I do want to publicise it so that = others can use it, especially those working currently on the WebAssembly to= olchain. Nick=