Skip to content

xtensa: toolchain fix for compiling huge functions

Thomas Petazzoni buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 4 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

Hello Max,

Quoted 5 lines · Max Filippov

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

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