[Buildroot] [PATCH] package/zeromq: fix build failure due to binutils bug 21464

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Mar 22 13:42:20 UTC 2021


On Mon, 22 Mar 2021 14:15:08 +0100
Giulio Benetti <giulio.benetti at benettiengineering.com> wrote:

> OpenRisc binutils 21464 bug has a fix:
> https://sourceware.org/bugzilla/show_bug.cgi?id=21464
> 
> I've tested it with binutils:
> - 2.32
> - 2.34
> - 2.35.2
> - 2.36.1
> 
> and works good while building:
> - protobuf
> - libtheora
> - zeromq

Excellent! Thanks for all this work!

Has this fix been suggested by upstream? How do you know it's the
"right" fix ?

> zeromq is the only package that could be worked around with -O0.
> 
> I would add patches that add patches to all binutils versions, so this 
> way buildroot toolchain built by buildroot are safe, but I should tag
> as buggy all the external openrisc toolchains, basically the one 
> provided by Bootlin. This implies adding patches to disable building 
> libtheora with all its dependencies and I can do it, or otherwise we can 
> wait for Bootlin to release a new fixed openrisc toolchain, what about that?

Don't bother with the external Bootlin toolchains, I was working on a
new release of the toolchains based on 2021.02, so I'll include the
binutils fix.

Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list