Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/vlc: Fix SSE support with gcc5
Date: Sun, 5 Jul 2015 21:50:15 +0200	[thread overview]
Message-ID: <20150705195015.GS3647@free.fr> (raw)
In-Reply-To: <1436114954-5766-1-git-send-email-bernd.kuhls@t-online.de>

Bernd, All,

On 2015-07-05 18:49 +0200, Bernd Kuhls spake thusly:
> Compile fails
> 
> make[4]: Entering directory `/home/fli4l/br6_freeswitch/output/build/vlc-2.2.1/modules'
>   CC       video_chroma/libi420_yuy2_sse2_plugin_la-i420_yuy2.lo
> In file included from video_chroma/i420_yuy2.c:35:0:
> video_chroma/i420_yuy2.c: In function 'I420_UYVY_Filter':
> video_chroma/i420_yuy2.c:194:23: error: calling 'I420_UYVY.isra.2' with SSE caling convention without SSE/SSE2 enabled
>  VIDEO_FILTER_WRAPPER( I420_UYVY )
>                        ^
> ../include/vlc_filter.h:266:13: note: in definition of macro 'VIDEO_FILTER_WRAPPER'
>              name( p_filter, p_pic, p_outpic );                          \
> 
> using this defconfig
> 
> BR2_x86_pentium2=y
> BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
> BR2_GCC_VERSION_5_1_X=y
> BR2_TOOLCHAIN_BUILDROOT_CXX=y
> BR2_PACKAGE_VLC=y
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/vlc/vlc.mk |    6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk
> index 2a28eee..7030acc 100644
> --- a/package/vlc/vlc.mk
> +++ b/package/vlc/vlc.mk
> @@ -67,6 +67,12 @@ else
>  VLC_CONF_OPTS += --disable-altivec
>  endif
>  
> +ifeq ($(BR2_X86_CPU_HAS_SSE),y)
> +VLC_CONF_OPTS += --enable-sse
> +else
> +VLC_CONF_OPTS += --disable-sse
> +endif
> +
>  ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
>  VLC_CONF_OPTS += --enable-alsa
>  VLC_DEPENDENCIES += alsa-lib
> -- 
> 1.7.10.4
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

      reply	other threads:[~2015-07-05 19:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-05 16:49 [Buildroot] [PATCH 1/1] package/vlc: Fix SSE support with gcc5 Bernd Kuhls
2015-07-05 19:50 ` Yann E. MORIN [this message]

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=20150705195015.GS3647@free.fr \
    --to=yann.morin.1998@free.fr \
    --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