summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@smile.fr>2017-07-05 11:42:30 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 21:03:22 +0200
commite922c1774cb6b2b048336f0af5f540f59e280a5e (patch)
treec4762be966cea1efe0b9adceb014b389b44f4410
parentbfe176bbda3d0f3e6982fcdc873a8fb0a59a53a8 (diff)
downloadbuildroot-e922c1774cb6b2b048336f0af5f540f59e280a5e.tar.gz
buildroot-e922c1774cb6b2b048336f0af5f540f59e280a5e.zip
package/kvazaar: disable on PowerPC, PowerPC64 and PowerPC64le
kvazaar is affected by three different build issues on PowerPC and related architectures: - On PowerPC64, the build fails due to the use of a deprecated vec_lvsl() function: strategies/altivec/picture-altivec.c: In function ‘reg_sad_altivec’: strategies/altivec/picture-altivec.c:43:5: error: vec_lvsl is deprecated for little endian; use assignment for unaligned loads and stores [-Werror=deprecated] perm1 = vec_lvsl(0, &data1[y * stride1]); ^~~~~ This bug has been reported upstream at: https://github.com/ultravideo/kvazaar/issues/172 - On PowerPC 8548, the build fails due to mixing AltiVec and E500 instructions: strategies/altivec/picture-altivec.c:1:0: error: AltiVec and E500 instructions cannot coexist This bug has been reported upstream at: https://github.com/ultravideo/kvazaar/issues/173 - On PowerPC e500mc, because Altivec is not supported on this target: strategies/altivec/picture-altivec.c:1:0: error: AltiVec not supported in this target This bug has been reported upstream at: https://github.com/ultravideo/kvazaar/issues/174 Fixes: http://autobuild.buildroot.net/results/486/486757f04bc73736b64d18c3298216280be897b1 http://autobuild.buildroot.net/results/45d/45d22c9f2f5b593bed286319105c82cbc3396835 http://autobuild.buildroot.net/results/76c/76c76191f84748326d76fe0cc89456a72738a06b Signed-off-by: Romain Naour <romain.naour@smile.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/kvazaar/Config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/kvazaar/Config.in b/package/kvazaar/Config.in
index fb9736920f..558d161e12 100644
--- a/package/kvazaar/Config.in
+++ b/package/kvazaar/Config.in
@@ -3,11 +3,14 @@ config BR2_PACKAGE_KVAZAAR
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_TOOLCHAIN_HAS_SYNC_4
+ # use deprecated altivec vec_lvsl()
+ depends on !BR2_powerpc && !BR2_powerpc64 && !BR2_powerpc64le
help
An open-source HEVC encoder licensed under LGPLv2.1
https://github.com/ultravideo/kvazaar
comment "kvazaar needs a toolchain w/ C++, threads"
+ depends on !BR2_powerpc && !BR2_powerpc64 && !BR2_powerpc64le
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
OpenPOWER on IntegriCloud