mailing list of musl libc
 help / color / mirror / code / Atom feed
* yet another alternative libc
@ 2014-01-29 21:19 Anthony G. Basile
  2014-01-29 21:44 ` Daniel Cegiełka
  2014-01-30  6:06 ` Rich Felker
  0 siblings, 2 replies; 6+ messages in thread
From: Anthony G. Basile @ 2014-01-29 21:19 UTC (permalink / raw)
  To: gentoo-embedded-cnFmAm88PdgLnqt3yJz4RQ,
	gentoo-hardened-cnFmAm88PdgLnqt3yJz4RQ,
	musl-ZwoEplunGu1jrUoiu81ncdBPR1lH4CV8

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




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-02-01  1:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-29 21:19 yet another alternative libc Anthony G. Basile
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

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).