Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 13 Nov 2014 23:44:42 +0100
From: Thomas Petazzoni <>
To: Bryan Hundven <>
Subject: Re: musl-cross toolchains now unusable in Buildroot

Dear Bryan Hundven,

On Sun, 9 Nov 2014 12:05:23 -0800, Bryan Hundven wrote:

> >  * The toolchains have the sysroot mechanism disabled. For an unknown
> >    reason, in commit
> >,
> >    the sysroot feature was disabled. This is weird, as essentially all
> >    modern toolchains have the sysroot feature enabled. This is
> >    essential for Buildroot to use a pre-built toolchain.
> musl-cross uses a to configure the toolchain settings:
> That is where you would set:
> ```
> ```
> So, musl-cross does still have sysroot, it just doesn't have it on by default.
> Sysroot support does have a problem with the path, which is described
> with this bug and patch:

This is of zero interest for Buildroot. In Buildroot, we have two
mechanisms for toolchains:

 * What we call the "internal toolchain backend", where Buildroot
   builds its own toolchain. This already has the capability of
   building musl toolchains, and is completely independent from
   musl-cross (except from the fact that we borrowed the gcc patches).
   However, this "backend" forces the user to wait a fairly long time
   for the toolchain to build.

 * What we call the "external toolchain backend", where Buildroot
   simply downloads and uses an already existing pre-built toolchain.
   This is where the toolchains produced by musl-cross and available at
   are nice, because Buildroot simply toolchains the tarball, extracts
   it and voila, we have a working Musl toolchain in a few seconds.

So, the fact that musl-cross *allows* to build sysroot-enabled
toolchain is of no use to us, if the toolchain proposed by musl-cross
don't have this option enabled.

Best regards,


Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.