]> code.ossystems Code Review - openembedded-core.git/commit
mesa: fix build on Arm V5 with soft float
authorRoss Burton <ross@burtonini.com>
Wed, 1 Sep 2021 15:32:01 +0000 (16:32 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Sep 2021 11:05:56 +0000 (12:05 +0100)
commitf3d82abb781c2642a50a60033641194d1e40c212
tree31c7462f26e1558585b0fd71c933b400c7b5be03
parente588cde6aed1e699a055e3481df0f3dc719c9774
mesa: fix build on Arm V5 with soft float

Since 80923e8d ("util/format: Add some NEON intrinsics-based
u_format_unpack.") upstream the build fails on Arm platforms which use
the soft-float ABI, such as qemuarmv5:

 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"

Take a patch from upstream to check the ABI being used before trying to
use NEON instructions.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/mesa/files/without-neon.patch [new file with mode: 0644]
meta/recipes-graphics/mesa/mesa.inc