mailing list of musl libc
 help / color / mirror / code / Atom feed
From: u-wsnj@aetey.se
To: musl@lists.openwall.com
Subject: musl on a different syscall layer?
Date: Wed, 17 Sep 2014 16:57:58 +0200	[thread overview]
Message-ID: <20140917145758.GI25738@example.net> (raw)

An observation, NetBSD libc file looks about 50% bigger than musl
being used (via Linux ABI) on the same system.

I am also kind of put off by the NetBSD monolithic build environment,
musl seems much easier to handle independently of other components of
the OS than the NetBSD libc.

Wonder how big effort would be needed to adjust musl to be compilable
against the NetBSD native syscalls? Unlike Linux, *BSD kernels do not
promise the stability of the syscall interface, but in practice the
default compatibility level covers many kernel versions and looks almost
as stable as in Linux.

(Linux-ABI-only musl would probably always remain "slightly insufficient"
for using with OS-specific tools, when the OS is not Linux - as there
are syscalls which reflect the internals of the kernel and they hardly
can ever become represented via a foreign ABI)

How much in musl is fundamentally linux-specific, besides the low level
syscall interfacing? How feasible would it be to introduce multiple
"kernel flavour" targets?

Rune



             reply	other threads:[~2014-09-17 14:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-17 14:57 u-wsnj [this message]
2014-09-17 17:53 ` Rich Felker
2014-09-17 18:02   ` u-wsnj
2014-09-18  8:59     ` Justin Cormack
2018-08-13 23:12 Alexander Revin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140917145758.GI25738@example.net \
    --to=u-wsnj@aetey.se \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).