[Buildroot] [PATCH v2] kmod: disable --gc-sections ld option when building for xtensa

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Mar 4 22:19:59 UTC 2014


Dear Max Filippov,

On Wed,  5 Mar 2014 00:30:31 +0400, Max Filippov wrote:
> This is a workaround for the following ld issue exhibited by --gc-sections
> option, until a proper fix for binutils is ready:
> 
> ld: BFD (GNU Binutils) 2.22 internal error, aborting at elf32-xtensa.c line 3374 in elf_xtensa_finish_dynamic_sections
> 
> Suggested-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> Signed-off-by: Max Filippov <jcmvbkbc at gmail.com>
> ---
> Changes v1->v2:
> - instead of patching configure specify that -Wl,--gc-sections is not
>   supported by ld at configure time

Applied, thanks.

I have added in the commit log a link to the autobuilder result which
this commit is fixing, for reference.

Thanks!

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



More information about the buildroot mailing list