Trimming uclibc in l4

Masti Ramya Jayaram rmasti at
Tue Sep 16 19:05:50 CEST 2014

Hey Markus,

I am using a version from April 2011 but even that version contains a lot of things that bootstrap and sigma0 do not need. :)  Did you mean more recent than that?


p.s. my board requires that I run an older version of the kernel - so the pain.
From: l4-hackers [l4-hackers-bounces at] on behalf of Marcus Hähnel [mhaehnel at]
Sent: 16 September 2014 18:31
To: l4-hackers at
Subject: Re: Trimming uclibc  in l4


> I would like to extract the minimal subset of uclibc required by
> bootstrap, sigma and their dependencies only. My idea is to have these
> modules use the smaller libc while retain the usual uclibc build for
> the other packages.

Great idea, but you should probably update your L4Re. L4Re features
such a minimal version since about 2011. So no need to do the same work
twice :)

- Marcus

> I intend to go about this by copying uclibc (say into uclibc_min) and
> then modifying the contrib_files_all.lst and contrib_files_x86.lst. Is
> this the correct way to do this?
> Also, I extracted all the package dependencies of bootstrap and sigma
> from the control files (below)
> bootstrap: drivers_uart drivers_of libc l4util cxx_io
> drivers-frst:libc
> l4util: crtn libc
> crtn: l4sys
> l4sys: ldscripts
> l4util: crtn libc
> cxx: l4sys l4util
> ulibc: l4sys
> sigma0: crtn l4sys l4util libsigma0 cxx_io
> libsigma0:  l4sys
> Is this the correct way to do this as well?
> Thanks,
> Ramya
> _______________________________________________
> l4-hackers mailing list
> l4-hackers at

l4-hackers mailing list
l4-hackers at

More information about the l4-hackers mailing list