Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/ffmpeg: Fix i486 compilation with gcc5
Date: Sun, 28 Feb 2016 00:21:50 +0100	[thread overview]
Message-ID: <56D22F8E.6010605@mind.be> (raw)
In-Reply-To: <1456614055-10889-1-git-send-email-bernd.kuhls@t-online.de>

On 02/28/16 00:00, Bernd Kuhls wrote:
> 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)

 What about BR2_x86_x1000? It's more or less identical to i586 so probably same
story. And i686? i386?

 Regards,
 Arnout

>  # Needed to work around a bug with gcc 5.x:
>  # error: 'asm' operand has impossible constraints
>  FFMPEG_CONF_OPTS += --disable-inline-asm
> 


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

  reply	other threads:[~2016-02-27 23:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2016-03-02 20:28 ` Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56D22F8E.6010605@mind.be \
    --to=arnout@mind.be \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox