[Buildroot] [PATCHv2] linux: may fail to boot for binutils 2.29+ even without armv7m

Peter Korsgaard peter at korsgaard.com
Fri Jun 8 14:19:28 UTC 2018


>>>>> "Arnout" == Arnout Vandecappelle <arnout at mind.be> writes:

Hi,

 >> comment "Linux kernel may fail to boot with binutils >= 2.29"
 >> -	depends on BR2_ARM_CPU_ARMV7M
 >> +	depends on BR2_arm || BR2_armeb

 >  I have a bit of a problem with this patch. IMO it's rather unlikely that people
 > build the kernel in THUMB mode on non-M CPUs. But now we're always showing this
 > warning. I think it will confuse a number of people, and I don't think it's very
 > likely that it will actually help anyone.

Why is it unlikely? Thumb(2) generates smaller code, so I could
certainly think of use cases where it could be useful (and have used it
myself in the past).

But Ok, maybe the warning should have mentioned thumb.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list