[Buildroot] [PATCH 0/4] xtensa: toolchain fix for compiling huge functions

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Oct 4 16:28:25 UTC 2015


Hello Max,

On Thu, 13 Aug 2015 01:19:59 +0300, Max Filippov wrote:

> Max Filippov (4):
>   binutils: backport auto-litpools xtensa gas option
>   gcc: backport mauto-litpools xtensa option
>   xtensa: switch from text-section-literals to auto-litpools
>   Revert "opencv: mark as not available on Xtensa"

In the end, I decided to apply these patches. They will break the
current pre-built Xtensa external toolchain we use (which was built
with Buildroot), but I will rebuild it soon to cope with that.

It's not nice to have such large patches in binutils/gcc, but I guess
it's necessary for architectures that are a bit specific, and for which
the compiler support is not yet perfect. I hope you are pushing these
changes to upstream gcc and binutils, so that we can drop the patches
in future versions.

BTW, can you have a look at gcc 5.x for Xtensa? We currently allow
using gcc 5.2.x on Xtensa, but we don't have any patches for it. It
would be great if you could have a look at which gcc 4.9.x patches are
still needed for gcc 5.x.

Thanks!

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


More information about the buildroot mailing list