[Buildroot] [PATCH v2 07/12] package/gst-ffmpeg: re-enable package if BUG_85180 is present

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri May 24 20:17:17 UTC 2019


On Tue, 21 May 2019 15:39:27 +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
> This package has been excluded from building if BUG_85180 is present.
> Bug shows up building gst-ffmpeg with optimization but not when building
> with -O0.
> 
> In config.mk if BR2_TOOLCHAIN_HAS_GCC_BUG_85180=y force using -O0 by:
> - add --disable-optimizations to EXTRA_OPTS
> - passing -O0 to CFLAGS in CONF_ENV
> Then remove 'depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_85180' and its
> comment if not available from Config.in
> 
> Signed-off-by: Giulio Benetti <giulio.benetti at micronovasrl.com>
> ---
>  package/gstreamer/gst-ffmpeg/Config.in     | 4 ----
>  package/gstreamer/gst-ffmpeg/gst-ffmpeg.mk | 5 +++++
>  2 files changed, 5 insertions(+), 4 deletions(-)

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

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



More information about the buildroot mailing list