From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/12523 Path: news.gmane.org!.POSTED!not-for-mail From: ardi Newsgroups: gmane.linux.lib.musl.general Subject: Re: Views on bare metal port Date: Sat, 17 Feb 2018 23:37:45 +0100 Message-ID: References: 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 1518906966 8261 195.159.176.226 (17 Feb 2018 22:36:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Feb 2018 22:36:06 +0000 (UTC) To: musl@lists.openwall.com, jonathanchesterfield@gmail.com Original-X-From: musl-return-12540-gllmg-musl=m.gmane.org@lists.openwall.com Sat Feb 17 23:36:01 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 1enB5L-0001iJ-95 for gllmg-musl@m.gmane.org; Sat, 17 Feb 2018 23:35:59 +0100 Original-Received: (qmail 18154 invoked by uid 550); 17 Feb 2018 22:37: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 18123 invoked from network); 17 Feb 2018 22:37:57 -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=/pUcDvky6QVIBAhIuOimP3Jki+7wmOwQ8hMMOSaXUpg=; b=cO8MWQmu8zOJcavt7OoLrY0Nw68doUI29TnGc3glS+fn2HuRuy9k1yGkWb2Eg9rALy IQdrX30caorijmtE3XnB33s+mcFz1q3CedJMIK8llGchYZ4A2gxtXk7Ogthwlk/8yvbk i19O9s/IJIZ/77Xsdo2i15QAJXB22ne880yjQ0D0Sjx4TWP7e2nEqiQBs0JlzShVLljA rhzlUUd1MoEdSFQEYznphEZX+03cZYV8L8ERV4pJ4RaSoQuOasrwlNdZQORq1c+OET1Z belwWN+yUhQ6SDhn3Zcr+aAXM+wHXj73nHM/yJVn0tV0MZ4vDQZlsHxynN7/56p1/S0H zHXQ== 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=/pUcDvky6QVIBAhIuOimP3Jki+7wmOwQ8hMMOSaXUpg=; b=dz+Puo9cF/v7GSjqFx//aUUX59SHwDexTzZjz5KxMfbvGFYoUNhfy9bYHmFKCD7SVT SOATcJOljpjoQyFrCQK7ikhJZSvN5gQVqw4mNK2hZyON2yLoVMlA5uCkSrvBG2SnhuU8 /8vUqoRrWcrH9LP9PVywWSblkHo1iOQVLoJgijA+xwwZGzUhDCm8tAyoNY0XWOie8PVn odJzLtciWYM1D2gAUtI0awGe8f8O7bHijDNPcfCQ0EwWJAYqOwgc+geujANHGzsR97QH m1N9tH5d4qkfvACpz6NY1zAYqF2g805zIzNZ+KReaA+GmGfpgMvtfP8GSPnhO0Ws+T/9 +gog== X-Gm-Message-State: APf1xPCYd2l0pwhsEmI12X1NyzZszCN0zMvPuzstKEu0Co7Iv9u0DXgC ACCRMmzirx6UVZWGAgWgrK9ZQ4QOilXmmBglMLb/fg== X-Google-Smtp-Source: AH8x227j8UWgFIAeoca8/EsrF2vpiBQzAvRRlH5dHKCpLZsUrQoIQ+zAibprtkjA6fQpouRC010ge9LfhWD8CPvxS+w= X-Received: by 10.98.15.15 with SMTP id x15mr10297923pfi.197.1518907065510; Sat, 17 Feb 2018 14:37:45 -0800 (PST) In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:12523 Archived-At: Hi, I'm also in need of a libc whose syscall interface was easily hook-able. Not knowing of any libc that has all the syscalls clearly encapsulated (and encapsulated at the C level rather than at assembly level), but considering the clean design of musl, I've chosen musl as probably the best option. You can check the thread I started in the list last Christmas: http://www.openwall.com/lists/musl/2017/12/21/3 ardi On Wed, Jan 31, 2018 at 2:38 PM, Jon Chesterfield wrote: > 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 > >