Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/3] package/mplayer: disable inline sse on i386
@ 2017-05-13 15:09 Bernd Kuhls
  2017-05-13 15:09 ` [Buildroot] [PATCH 2/3] package/mplayer: disable inline sse2 " Bernd Kuhls
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Bernd Kuhls @ 2017-05-13 15:09 UTC (permalink / raw)
  To: buildroot

Fixes

libavcodec/x86/ac3dsp_init.c: In function 'ac3_downmix_sse':
libavcodec/x86/ac3dsp_init.c:161:9: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
libavcodec/x86/ac3dsp_init.c:165:9: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
libavcodec/x86/ac3dsp_init.c:161:9: error: 'asm' operand has impossible constraints
libavcodec/x86/ac3dsp_init.c:165:9: error: 'asm' operand has impossible constraints
libavcodec/x86/ac3dsp_init.c:174:9: error: 'asm' operand has impossible constraints

found by autobuilder job
http://autobuild.buildroot.net/results/9f5/9f5a497c6242860fb67a5aa2996c3509f49a4564//

Please note that this patch alone will not fix all build errors, sse2
and mmxext show similar errors and are fixed by follow-up patches.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/mplayer/mplayer.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/mplayer/mplayer.mk b/package/mplayer/mplayer.mk
index f43ec5dc7..0d3ba0b81 100644
--- a/package/mplayer/mplayer.mk
+++ b/package/mplayer/mplayer.mk
@@ -292,6 +292,10 @@ define MPLAYER_DISABLE_INLINE_ASM
 		$(@D)/config.h
 	$(SED) 's,#define HAVE_MMX_EXTERNAL 1,#define HAVE_MMX_EXTERNAL 0,g' \
 		$(@D)/config.h
+	$(SED) 's,#define HAVE_SSE_INLINE 1,#define HAVE_SSE_INLINE 0,g' \
+		$(@D)/config.h
+	$(SED) 's,#define HAVE_SSE_EXTERNAL 1,#define HAVE_SSE_EXTERNAL 0,g' \
+		$(@D)/config.h
 endef
 
 ifeq ($(BR2_i386),y)
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-04-01 14:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-13 15:09 [Buildroot] [PATCH 1/3] package/mplayer: disable inline sse on i386 Bernd Kuhls
2017-05-13 15:09 ` [Buildroot] [PATCH 2/3] package/mplayer: disable inline sse2 " Bernd Kuhls
2017-05-13 15:09 ` [Buildroot] [PATCH 3/3] package/mplayer: disable inline mmxext " Bernd Kuhls
2017-05-14 14:08 ` [Buildroot] [PATCH 1/3] package/mplayer: disable inline sse " Thomas Petazzoni
2017-05-15 20:38   ` Bernd Kuhls
2018-03-31 15:12     ` Arnout Vandecappelle
2018-04-01 12:17       ` Peter Korsgaard
2018-04-01 13:15         ` Bernd Kuhls
2018-04-01 14:24           ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox