* [Buildroot] Issues with Linaro and Musl external toolchains
@ 2014-11-11 15:17 Thomas Petazzoni
0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2014-11-11 15:17 UTC (permalink / raw)
To: buildroot
Hello,
If you are using the Linaro or Musl pre-built external toolchains and
want to see them being supported in Buildroot in the future, please
read on.
I've recently tried to update the Linaro and Musl external toolchains
to their latest versions, but unfortunately, both projects made some
changes that make the new pre-built toolchains they provide unsuitable
for Buildroot:
* The Musl pre-built toolchains provided by musl-cross, since version
1.1.2, have two problems: they no longer have sysroot support, and
the kernel headers are broken. Both issues have been reported:
https://bitbucket.org/GregorR/musl-cross/issue/5/sysroot-support-needed-for-buildroot
https://bitbucket.org/GregorR/musl-cross/issue/6/non-standard-kernel-headers-causing-issues
On Github (it's not clear whether the project uses Github or
Bitbucket), at https://github.com/GregorR/musl-cross/issues/31, the
maintainer of musl-cross did not seem to fully understand our need,
as he simply suggested us to run musl-cross with the appropriate
option to enable sysroot support. Which obviously doesn't make
sense, because we want to use the pre-built Musl toolchains. If we
were to build our own, we would be using the Buildroot internal
backend, and not musl-cross.
* The Linaro toolchains, since release 14.10, use a new build system
called cbuildv2 instead of crosstool-ng. And their sysroot handling
is completely broken, making their toolchain unusable in Buildroot.
I've reported the issue upstream as well:
https://bugs.linaro.org/show_bug.cgi?id=862
So far, I haven't had much luck in convincing the musl-cross maintainer
to change the Musl pre-built toolchains, and I also have some doubts
that Linaro folks will listen positively to my comments.
So, if you're using those toolchains, or interested in using them in
Buildroot, do not hesitate to speak up in the relevant bug reports. Of
course, if you can mention a company or product that is using Buildroot
and one of these toolchains, it's even better, as it'll show that
Buildroot is actually used for a number of real-world products.
If no changes are made upstream on Linaro toolchains and Musl pre-built
toolchains, the support for those will be removed in Buildroot in the
near future.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-11-11 15:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-11 15:17 [Buildroot] Issues with Linaro and Musl external toolchains Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox