[Buildroot] [PATCH] binutils: fix buildng of Linux kernel for ARCv2 ISA

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Aug 4 18:07:22 UTC 2015


Dear Alexey Brodkin,

On Tue,  4 Aug 2015 14:42:42 +0300, Alexey Brodkin wrote:
> With fix of missing .tdata/.tbss sections we unintentionally introduced
> a regression for ARCv2 ISA (read ARC HS38) kernel building.
> 
> That's what we got on attempt to build kernel:
> ----------------------------------->8--------------------------------------
>   LD      drivers/video/fbdev/built-in.o
> arc-linux-ld: ERROR: Attempting to link drivers/video/fbdev/omap2/built-in.o with a binary drivers/video/fbdev/built-in.o of different architecture
> arc-linux-ld: failed to merge target specific data of file drivers/video/fbdev/omap2/built-in.o
> scripts/Makefile.build:337: recipe for target 'drivers/video/fbdev/built-in.o' failed
> make[3]: *** [drivers/video/fbdev/built-in.o] Error 1
> scripts/Makefile.build:403: recipe for target 'drivers/video/fbdev' failed
> make[2]: *** [drivers/video/fbdev] Error 2
> scripts/Makefile.build:403: recipe for target 'drivers/video' failed
> make[1]: *** [drivers/video] Error 2
> Makefile:944: recipe for target 'drivers' failed
> make: *** [drivers] Error 2
> ----------------------------------->8--------------------------------------

I've fixed the typo in the commit title, and 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