[Buildroot] [PATCH] Fix compilation of systemd with uclibc

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Oct 2 21:17:04 UTC 2013


Dear Arnout Vandecappelle,

On Wed, 02 Oct 2013 18:43:19 +0200, Arnout Vandecappelle wrote:

> > The thing that worries me is that we start to rely on uClibc features
> > that are provided by specific patches we have added to our uClibc
> > package. This means that an user using an uClibc toolchain provided by
> > Analog Devices for Blackfin, or built with Crosstool-NG will no longer
> > work properly to build those packages.
> >
> > I'm not sure what to do about this, though. Mark those packages as
> > available only with glibc or the internal uClibc toolchain? Stop
> > backporting uClibc feature patches (like we do for other packages) and
> > tell people to work with upstream uClibc to get things fixed and
> > released?
> 
>   We could make kconfig options for them and verify them in 
> $sysroot/include/bits/uClibc_config.h. Or, in the case of execvpe which 
> doesn't have a kconfig option, verify in $sysroot/include/unistd.h. But 
> it's adding a lot of complexity.

Yeah, it would add a lot of complexity. Another option is to make such
packages non-selectable if an external uClibc toolchain is used.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list