Skip to contentSkip to conversation

vlc: fix build on or1k

PATCH New Fabrice Fontaine 2 participants 2 messages Sep 10, 2018 – Sep 12, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vlc: fix build on or1k

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

---
 package/vlc/vlc.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/vlc/vlc.mk +1 -1
index 073dbf5b40..73f84d5eb2 100644
@@ -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
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 vlc: fix build on or1k

Hello,

Quoted 6 lines · Fabrice Fontaine

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
}

Quoted 7 lines

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

---
 package/vlc/vlc.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com