Skip to contentSkip to conversation

package/vlc: Fix SSE support with gcc5

PATCH New Bernd Kuhls 2 participants 2 messages Jul 5, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/vlc: Fix SSE support with gcc5

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

---
 package/vlc/vlc.mk |    6 ++++++
 1 file changed, 6 insertions(+)
package/vlc/vlc.mk +6 -0
index 2a28eee..7030acc 100644
@@ -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
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 package/vlc: Fix SSE support with gcc5

Bernd, All,

On 2015-07-05 18:49 +0200, Bernd Kuhls spake thusly:

Quoted 14 lines

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

Quoted 7 lines

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

Regards,
Yann E. MORIN.

Quoted 28 lines
---
 package/vlc/vlc.mk |    6 ++++++
 1 file changed, 6 insertions(+)
package/vlc/vlc.mk +6 -0
index 2a28eee..7030acc 100644
@@ -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
Signature · 6 lines
1.7.10.4

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'