]> code.ossystems Code Review - openembedded-core.git/commit
pulseaudio: check if NEON code can be compiled on arm
authorMingli Yu <mingli.yu@windriver.com>
Fri, 2 Jul 2021 08:09:51 +0000 (16:09 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 2 Jul 2021 22:14:27 +0000 (23:14 +0100)
commit79dedfbae5edceecca2b0abfacb3c61abcab7cfa
treedacde627cfdb9f32fdc00a682bfeb45b5d2d9c06
parent563e78491be3763f53f9ea53241853b099f5747b
pulseaudio: check if NEON code can be compiled on arm

Backport a patch to check if NEON code can be compiled on arm to
fix below issue:
 | /prj/tmp-glibc/work/armv5e-wrs-linux-gnueabi/pulseaudio/14.0-r0/recipe-sysroot-native/usr/lib/arm-wrs-linux-gnueabi/gcc/arm-wrs-linux-gnueabi/10.2.0/include/arm_neon.h:31:2: error: #error "NEON intrinsics not available with the soft-float ABI.  Please use -mfloat-abi=softfp or -mfloat-abi=hard"
 |  31 | #error "NEON intrinsics not available with the soft-float ABI.  Please use -mfloat-abi=softfp or -mfloat-abi=hard"
      |  ^~~~~
 | ../pulseaudio-14.0/src/pulsecore/mix_neon.c: In function 'pa_mix_ch2_s16ne_neon':
 | ../pulseaudio-14.0/src/pulsecore/mix_neon.c:38:9: error: unknown type name 'int32x4_t'; did you mean 'int32_t'?
 |   38 |         int32x4_t sum0, sum1;

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Tested-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-multimedia/pulseaudio/pulseaudio/0001-build-sys-meson-check-if-NEON-code-can-be-compiled-o.patch [new file with mode: 0644]
meta/recipes-multimedia/pulseaudio/pulseaudio_14.2.bb