[Buildroot] [PATCH v2, 1/1] package/opencv3: fix build due to gcc bug 68485

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri May 31 20:22:03 UTC 2019


On Fri, 31 May 2019 18:26:45 +0200
Fabrice Fontaine <fontaine.fabrice at gmail.com> wrote:

> With Microblaze Gcc version <= 9.x the build fails due to gcc bug 68485:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485. The bug show up when
> building opencv3 with optimization but not when building with -O0. To
> work around this, if BR2_TOOLCHAIN_HAS_GCC_BUG_68458=y, we force using
> -O0.
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/c78eac84d1c5a6702e7759cd5364da1c3e399b4b
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ---
> Changes v1 -> v2 (after review of Giulio Benetti):
>  - Improve commit log

Applied to master, thanks.

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


More information about the buildroot mailing list