[Buildroot] [PATCH 1/1] vlc: fix build on or1k

Fabrice Fontaine fontaine.fabrice at gmail.com
Mon Sep 10 21:54:51 UTC 2018


vlc 3.0.4 is also affected by gcc bug internal compiler error on or1k

hw/vaapi/vlc_vaapi.c: In function 'pool_pic_destroy_cb':
hw/vaapi/vlc_vaapi.c:568:1: internal compiler error: in merge_overlapping_regs, at regrename.c:304
 }

Fixes:
 - http://autobuild.buildroot.org/results/771e88e7fb06714dd4b7246f82b95dffcedde343

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
 package/vlc/vlc.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk
index 073dbf5b40..73f84d5eb2 100644
--- a/package/vlc/vlc.mk
+++ b/package/vlc/vlc.mk
@@ -17,7 +17,7 @@ VLC_INSTALL_STAGING = YES
 
 # gcc bug internal compiler error: in merge_overlapping_regs, at
 # regrename.c:304. This bug is fixed since gcc 6.
-ifeq ($(BR2_microblaze):$(BR2_TOOLCHAIN_GCC_AT_LEAST_6),y:)
+ifeq ($(BR2_microblaze)$(BR2_or1k):$(BR2_TOOLCHAIN_GCC_AT_LEAST_6),y:)
 VLC_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -O0"
 VLC_CONF_OPTS += --disable-optimizations
 endif
-- 
2.17.1



More information about the buildroot mailing list