[OE-core] [PATCH] mesa: add fix for arm6

Adrian Bunk bunk at stusta.de
Sat Feb 29 15:37:05 UTC 2020


On Fri, Feb 28, 2020 at 02:51:51PM -0800, Jeremy A. Puhlman wrote:
> From: Jeremy Puhlman <jpuhlman at mvista.com>
> 
> We have had similar problems with missing atomics on arm6 that arm5
> has.

How are you able to reproduce this problem?

I was wondering why the upstream fixes that happened in the meantime 
didn't fix it for armv5, but a qemuarmv5 build of mesa on master worked 
even after commenting out this line.

>...
> --- a/meta/recipes-graphics/mesa/mesa.inc
> +++ b/meta/recipes-graphics/mesa/mesa.inc
> @@ -161,6 +161,7 @@ EXTRA_OEMESON_append = " -Dasm=false"
>  FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer"
>  
>  CFLAGS_append_armv5 = " -DMISSING_64BIT_ATOMICS"
> +CFLAGS_append_armv6 = " -DMISSING_64BIT_ATOMICS"
>...

cu
Adrian

BTW: armv6, not arm6 - arm6 is armv3


More information about the Openembedded-core mailing list