[Buildroot] [PATCH 1/2] configs/stm32f429: force usage of BINUTILS 2.28.x

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue May 29 21:32:19 UTC 2018


Hello Christophe,

On Tue, 29 May 2018 12:09:27 +0000, Christophe PRIOUZEAU wrote:
> Due to runtime issue with the usage of BINUTILS 2.29.x,
> we need to use the version 2.28.x
> 
> Signed-off-by: Christophe Priouzeau <christophe.priouzeau at st.com>

I know those patches have been committed, but I'd like to say I'm not
totally happy with them: to me, they don't implement the right approach.

Your patches only fix specifically the STM32 defconfigs. Any other
Buildroot user doing Cortex-M4 stuff, for other platforms, will fall
into the same binutils issue.

So in fact the proposal that was made back in April at
http://lists.busybox.net/pipermail/buildroot/2018-April/219223.html was
in the end better.

I still don't like the fact that we are forced to use an old binutils
version, because we are ultimately going to drop support for binutils
2.28 in the future, and if the issue isn't fixed in newer binutils
versions, we are going to have a problem. But regardless of that,
fixing the defconfigs is really not the correct solution here I believe.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list