Created attachment 213615 [details]
powerpc head doesn't have 64 bit atomic functions. Use this patch to fix build there.
(In reply to Piotr Kubaj from comment #0)
> powerpc head doesn't have 64 bit atomic functions
Actually we have native 64-bit kernel atomics on ppc32 since src r356308, but at that time it was decided to keep the "status quo of userland doing its own locking". :-/
Should the patch be applied only in the powerpc32 case, or is it a noop on other architectures (given that they are compiled with clang)?
(In reply to Niclas Zeising from comment #2)
Sorry for the late answer. Yes, this is noop. There is a check for defined(MISSING_64BIT_ATOMICS). AFAIK other architectures have 64 bit atomics.
If mesa has a use case for crossprocess 64 bit atomics, I am still carrying the userland parts of the atomic emulation around in my superglue tree and can resurrect it at any time.