[Buildroot] [PATCH] package/gcc: fix libgcc build for xtensa

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Jul 24 09:32:44 UTC 2015


Dear Max Filippov,

On Fri, 24 Jul 2015 12:30:31 +0300, Max Filippov wrote:
> xtensa libgcc can't be built with -mtext-section-literals flag, now
> coming from TARGET_CFLAGS, because it needs to emit literals to
> .init/.fini sections, which is not currently supported.
> 
> Filter -mtext-section-literals flag out of GCC_COMMON_TARGET_CFLAGS.
> 
> Suggested-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> Signed-off-by: Max Filippov <jcmvbkbc at gmail.com>
> ---
>  package/gcc/gcc.mk |    7 +++++++
>  1 files changed, 7 insertions(+), 0 deletions(-)

Applied, thanks.

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



More information about the buildroot mailing list