0901b09a69
mpjegtools fails to build on powerpc without altivec: build_sub44_mests.c: In function 'build_sub44_mests_altivec': build_sub44_mests.c:268:9: internal compiler error: Segmentation fault vr1 = vec_ld(rowstride, (unsigned char*)s44blk); It seems mpjegtools is wrongly detecting altivec support: configure: - PowerPC Optimizations: configure: - AltiVec enabled : true Fix this by adding BR2_PACKAGE_MJPEGTOOLS_SIMD_SUPPORT and setting --enable-simd-accel / --disable-simd-accel Fixes: - http://autobuild.buildroot.net/results/c9464712f43efb8954fd2e5460126ad193660353 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
23 lines
674 B
Plaintext
23 lines
674 B
Plaintext
config BR2_PACKAGE_MJPEGTOOLS
|
|
bool "mjpegtools"
|
|
depends on BR2_USE_MMU # fork
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
select BR2_PACKAGE_JPEG
|
|
help
|
|
The mjpegtools programs are a set of tools
|
|
that can do recording of videos and playback,
|
|
simple cut-and-paste editing and the MPEG
|
|
compression of audio and video under Linux.
|
|
|
|
http://mjpeg.sourceforge.net
|
|
|
|
config BR2_PACKAGE_MJPEGTOOLS_SIMD_SUPPORT
|
|
bool
|
|
default y if BR2_X86_CPU_HAS_MMX
|
|
default y if BR2_POWERPC_CPU_HAS_ALTIVEC
|
|
|
|
comment "mjpegtools needs a toolchain w/ C++, threads"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|