[Buildroot] [PATCH v2 04/12] package/ddrescue: fix BUG_85180 build timeout

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri May 24 19:58:24 UTC 2019


On Tue, 21 May 2019 15:39:24 +0200
Giulio Benetti <giulio.benetti at micronovasrl.com> wrote:

> With Microblaze Gcc version < 8.x build hangs on compiling first files.
> This is due to bug 85180:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180
> Bug shows up building ddrescue with optimization but not when building
> with -O0.
> 
> If BR2_TOOLCHAIN_HAS_GCC_BUG_85180=y force using -O0 passing it to
> CXXFLAGS.
> 
> Fixes:
> http://autobuild.buildroot.net/results/2af/2af69401acb76be3d3fd427d1c58fed3af33bf9b/
> 
> Signed-off-by: Giulio Benetti <giulio.benetti at micronovasrl.com>
> ---
>  package/ddrescue/ddrescue.mk | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)

Applied to master after tweaking the CFLAGS logic and the commit log.
Thanks!

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


More information about the buildroot mailing list