Skip to contentSkip to conversation

package/ffmpeg: disable asm on mips r6

PATCH New Fabrice Fontaine 2 participants 2 messages Apr 7, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/ffmpeg: disable asm on mips r6

Fixes:
- http://autobuild.buildroot.org/results/f5125bde6d3604af3342a205a8445947aff95d5a
- http://autobuild.buildroot.org/results/beb70bd6c1dd9abf7bc1b53299ba0094a36f4179

---
 package/ffmpeg/ffmpeg.mk | 5 +++++
 1 file changed, 5 insertions(+)
package/ffmpeg/ffmpeg.mk +5 -0
index 17e4fa7074..eb237d3523 100644
@@ -482,6 +482,11 @@ FFMPEG_CONF_OPTS += --disable-mipsfpu
 else
 FFMPEG_CONF_OPTS += --enable-mipsfpu
 endif
+
+#?Fix build failure on "addi opcode not supported"
+ifeq ($(BR2_mips_32r6)$(BR2_mips_64r6),y)
+FFMPEG_CONF_OPTS += --disable-asm
+endif
 endif # MIPS
 
 ifeq ($(BR2_POWERPC_CPU_HAS_ALTIVEC),y)
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/ffmpeg: disable asm on mips r6

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

Fixes:
- http://autobuild.buildroot.org/results/f5125bde6d3604af3342a205a8445947aff95d5a
- http://autobuild.buildroot.org/results/beb70bd6c1dd9abf7bc1b53299ba0094a36f4179

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard