From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/12434 Path: news.gmane.org!.POSTED!not-for-mail From: Jon Chesterfield Newsgroups: gmane.linux.lib.musl.general Subject: Views on bare metal port Date: Wed, 31 Jan 2018 13:38:44 +0000 Message-ID: References: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1140af662b300a056412993e" X-Trace: blaine.gmane.org 1517405849 16330 195.159.176.226 (31 Jan 2018 13:37:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 31 Jan 2018 13:37:29 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-12450-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jan 31 14:37:25 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 1egsZX-00031R-Vu for gllmg-musl@m.gmane.org; Wed, 31 Jan 2018 14:37:08 +0100 Original-Received: (qmail 3667 invoked by uid 550); 31 Jan 2018 13:39:04 -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 3628 invoked from network); 31 Jan 2018 13:39:02 -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=jh5Y+cIHjGxTth6i2a895d/taP+cGVSqPGQn5LkWlFk=; b=I+MdAF8JLTMvrwdZkKEh5xSlp93593XtO2zJbSNzbHwvjXrz6hYCUlIp+tOWqFEvhE Qe7RAi4NtShyyPMFQ7fTwiggkDqZ6MPkwCocicd/BJbRw5B/2yu5J1mQiVXEWI4Qp2E7 glbon5YvyiJ8FJGhJf5EHMepiRuYL83aq1YAEF/2jVtD6d+dfvMkkuc2fBLf0zbWIsHI iL+UJ6YJlpHD6y+psMCjk03HWCFuXgXoAIGc43E+ZfjnZUzypX6a2MmcJ46MS6ATUVOP 6b9m2nDgUgaxy6xxbhPkWJOTqHctQNgFg5YHnNXAso42xxelMbfUqqUHs4yqlbanSs1D +VWA== 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=jh5Y+cIHjGxTth6i2a895d/taP+cGVSqPGQn5LkWlFk=; b=sfGaPmv4l5+h7wqryEcFsnhdFUjGyMFiLY5xXB3RjBeZWHcERGX/qfM+eIQkeB2QQv AmjiicbXAUgJibldH141av77RWGeJgICMNthw70PLGPc8O1Khx1V3Ja9/9xGbLbvBDq9 NdZ/mghG7x6Un3G+RU7SFGCSTPeEvKZMVHtHCVjU6X7nkHY++QnozGc9gyu8lKonXGt9 z23M/ig6hVAkBZlRmYOSwPkp0OKDlybpG5jABx24OSJD4MfkEKvb1sv1/YA2G8L/t6nE D0SEQIAdXzEXxdNv4ZUsK4bxHSButkfcpIk/88FydXmRMkC9h2dyP51Od43A0NboTXam mPxw== X-Gm-Message-State: AKwxytfgq71eqNQAAFprn4hco/ae0wRNaMmu7AvyMQYZg6T6pDGp75Bv VvzgJplMmEYHwzCmW2uj+PNt2SrSgAH2kkO5Ml0jDg== X-Google-Smtp-Source: AH8x225JJxXiPfA3CiP8FcfbtgPIovDMx7TEqPvPUa3FkyhrvRxgXjj2lTI79uxrk1cdr7PWqJJOpIn5OdIIAOvOfss= X-Received: by 10.157.12.168 with SMTP id b37mr4416777otb.6.1517405925484; Wed, 31 Jan 2018 05:38:45 -0800 (PST) In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:12434 Archived-At: --001a1140af662b300a056412993e Content-Type: text/plain; charset="UTF-8" Hello musl, I'm writing an llvm back end for a custom asic. There's no kernel, limited syscall support. As far as I can tell from the source tree, musl expects a host OS. I'm aware of a couple of projects running musl by emulating the Linux syscall interface. I would like to derive libc from a subset of musl. Math.h included, filesystem excluded. Malloc and threads tdb. Are there any bare metal projects that use musl without syscall emulation? If not, would one be of interest to this mailing list? Cheers, Jon --001a1140af662b300a056412993e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello musl,

= I'm writing an llvm back end for a custom asic. There's no kernel, = limited syscall support. As far as I can tell from the source tree, musl ex= pects a host OS. I'm aware of a couple of projects running musl by emul= ating the Linux syscall interface.

I would like to derive libc from a subset of musl. Math.h includ= ed, filesystem excluded. Malloc and threads tdb.
Are there a= ny bare metal projects that use musl without syscall emulation? If not, wou= ld one be of interest to this mailing list?

Cheers,

Jon


--001a1140af662b300a056412993e--