From: "Anthony G. Basile" <blueness-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org>
To: gentoo-embedded-cnFmAm88PdgLnqt3yJz4RQ@public.gmane.org,
gentoo-hardened-cnFmAm88PdgLnqt3yJz4RQ@public.gmane.org,
musl-ZwoEplunGu1jrUoiu81ncdBPR1lH4CV8@public.gmane.org
Subject: yet another alternative libc
Date: Wed, 29 Jan 2014 16:19:49 -0500 [thread overview]
Message-ID: <52E97075.4030306@gentoo.org> (raw)
Hi everyone,
I just thought I'd let everyone know that I've built a musl stage4 for
amd64 and put it on the mirrors [1]. If you don't know about musl, you
can read about it here [2]. Its yet another libc which aims to be a
slim and fast.
I've got a stage4 (kinda/sorta). It is not made using catalyst but
rather starts from a musl chroot and builds a new chroot using a
ROOT=rootfs emerge -ev @system technique. The scripts are on the releng
repo [3]. Right now there are lots of packages which do not immediately
build with musl. Mostly these are due to header locations, gnu-isms,
gnulib (which assumes way too much about internal implementations) and
at least one bug in musl or gcc (depending on who you ask --- exit()
compiled with --stack-protector-all). The patches are on the
hardened-dev::musl overlay [4]. They are "quickies" and may need work
if any are to go upstream.
A few points about the stage: 1) it doesn't use busybox for its core
utilities. I like a robust native development environment from which
you can build. 2) Despite the fact that the profile is under hardened,
it is still a vanilla stage. I'm working on getting it hardened, but a
few packages break when we turn on pie, ssp, relro and/or bind_now.
Enjoy or ignore at your discretion.
--Tony
Refs.
[1] http://distfiles.gentoo.org/experimental/amd64/musl/
[2] http://www.musl-libc.org/
[3]
http://git.overlays.gentoo.org/gitweb/?p=proj/releng.git;a=tree;f=tools-musl
[4] http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-dev.git;a=tree
--
Anthony G. Basile, Ph.D.
Gentoo Linux Developer [Hardened]
E-Mail : blueness-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org
GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA
GnuPG ID : F52D4BBA
next reply other threads:[~2014-01-29 21:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-29 21:19 Anthony G. Basile [this message]
2014-01-29 21:44 ` Daniel Cegiełka
2014-01-29 23:22 ` Luca Barbato
2014-01-30 6:06 ` Rich Felker
2014-01-30 15:00 ` Anthony G. Basile
2014-02-01 1:01 ` Rich Felker
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=52E97075.4030306@gentoo.org \
--to=blueness-abrp7r+bbdudnm+yrofe0a@public.gmane.org \
--cc=gentoo-embedded-cnFmAm88PdgLnqt3yJz4RQ@public.gmane.org \
--cc=gentoo-hardened-cnFmAm88PdgLnqt3yJz4RQ@public.gmane.org \
--cc=musl-ZwoEplunGu1jrUoiu81ncdBPR1lH4CV8@public.gmane.org \
/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).