Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/ffmpeg: Fix i486 compilation with gcc5
@ 2016-02-27 23:00 Bernd Kuhls
  2016-02-27 23:21 ` Arnout Vandecappelle
  2016-03-02 20:28 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Bernd Kuhls @ 2016-02-27 23:00 UTC (permalink / raw)
  To: buildroot

Fixes

In file included from libpostproc/postprocess.c:539:0:
libpostproc/postprocess_template.c: In function 'postProcess_MMX':
libpostproc/postprocess_template.c:3184:5: error: 'asm' operand has impossible constraints
     __asm__ volatile(
     ^
libpostproc/postprocess_template.c:3101:5: error: 'asm' operand has impossible constraints
     __asm__ volatile(
     ^
using this defconfig:

BR2_x86_i486=y
BR2_PACKAGE_FFMPEG=y
BR2_PACKAGE_FFMPEG_GPL=y
BR2_PACKAGE_FFMPEG_POSTPROC=y

This is a follow-up patch for
https://git.busybox.net/buildroot/commit/?id=bfb8df2ad9b164b421d25294c6882c8b61dc59a5

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/ffmpeg/ffmpeg.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk
index ddfac20..183d003 100644
--- a/package/ffmpeg/ffmpeg.mk
+++ b/package/ffmpeg/ffmpeg.mk
@@ -352,7 +352,7 @@ ifeq ($(BR2_X86_CPU_HAS_MMX),y)
 FFMPEG_CONF_OPTS += --enable-yasm
 FFMPEG_DEPENDENCIES += host-yasm
 else
-ifeq ($(BR2_x86_i586),y)
+ifeq ($(BR2_x86_i486)$(BR2_x86_i586),y)
 # Needed to work around a bug with gcc 5.x:
 # error: 'asm' operand has impossible constraints
 FFMPEG_CONF_OPTS += --disable-inline-asm
-- 
2.7.0

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

end of thread, other threads:[~2016-03-02 20:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-27 23:00 [Buildroot] [PATCH 1/1] package/ffmpeg: Fix i486 compilation with gcc5 Bernd Kuhls
2016-02-27 23:21 ` Arnout Vandecappelle
2016-03-02 20:28 ` Thomas Petazzoni

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