Re: [Mesa-dev] [PATCH] disk cache: Link with -latomic if necessary

2018-03-05 Thread Emil Velikov
[Trimming down the CC list] Hi Mike, On 4 March 2018 at 00:20, Mike Lothian wrote: > Hi > > Sorry to be a pain again > > I've just tested this with clang and the 32bit build still fails without > -latomic > > libtool: link: /bin/true glsl/.libs/libstandalone.a Eric has a

Re: [Mesa-dev] [PATCH] disk cache: Link with -latomic if necessary

2018-03-05 Thread Eric Engestrom
On Sunday, 2018-03-04 00:20:16 +, Mike Lothian wrote: > Hi > > Sorry to be a pain again > > I've just tested this with clang and the 32bit build still fails without > -latomic This fix was for meson, and you're using make here; does it work if you build using meson? First thing is to figure

Re: [Mesa-dev] [PATCH] disk cache: Link with -latomic if necessary

2018-03-03 Thread Mike Lothian
Hi Sorry to be a pain again I've just tested this with clang and the 32bit build still fails without -latomic libtool: link: /bin/true glsl/.libs/libstandalone.a libtool: link: rm -fr glsl/.libs/libstandalone.lax glsl/.libs/libstandalone.lax libtool: link: ( cd "glsl/.libs" && rm -f

Re: [Mesa-dev] [PATCH] disk cache: Link with -latomic if necessary

2018-02-27 Thread Matt Turner
On Tue, Feb 27, 2018 at 2:26 AM, Thierry Reding wrote: > On Mon, Feb 26, 2018 at 11:14:05AM -0800, Matt Turner wrote: >> On Fri, Feb 23, 2018 at 5:18 AM, Thierry Reding >> wrote: >> > From: Thierry Reding >> > >> > The disk

Re: [Mesa-dev] [PATCH] disk cache: Link with -latomic if necessary

2018-02-27 Thread Dylan Baker
Quoting Thierry Reding (2018-02-27 02:29:22) > On Mon, Feb 26, 2018 at 12:05:51PM -0800, Dylan Baker wrote: > > Quoting Thierry Reding (2018-02-23 05:18:28) > > > From: Thierry Reding > > > > > > The disk cache implementation uses 64-bit atomic operations. For some > > >

Re: [Mesa-dev] [PATCH] disk cache: Link with -latomic if necessary

2018-02-27 Thread Thierry Reding
On Mon, Feb 26, 2018 at 11:28:23PM +, Mike Lothian wrote: > On Fri, 23 Feb 2018 at 13:18 Thierry Reding > wrote: > > > From: Thierry Reding > > > > The disk cache implementation uses 64-bit atomic operations. For some > > architectures, such as

Re: [Mesa-dev] [PATCH] disk cache: Link with -latomic if necessary

2018-02-27 Thread Thierry Reding
On Mon, Feb 26, 2018 at 12:05:51PM -0800, Dylan Baker wrote: > Quoting Thierry Reding (2018-02-23 05:18:28) > > From: Thierry Reding > > > > The disk cache implementation uses 64-bit atomic operations. For some > > architectures, such as 32-bit ARM, GCC will not be able to

Re: [Mesa-dev] [PATCH] disk cache: Link with -latomic if necessary

2018-02-27 Thread Thierry Reding
On Mon, Feb 26, 2018 at 11:14:05AM -0800, Matt Turner wrote: > On Fri, Feb 23, 2018 at 5:18 AM, Thierry Reding > wrote: > > From: Thierry Reding > > > > The disk cache implementation uses 64-bit atomic operations. For some > > architectures, such as

Re: [Mesa-dev] [PATCH] disk cache: Link with -latomic if necessary

2018-02-26 Thread Mike Lothian
On Fri, 23 Feb 2018 at 13:18 Thierry Reding wrote: > From: Thierry Reding > > The disk cache implementation uses 64-bit atomic operations. For some > architectures, such as 32-bit ARM, GCC will not be able to translate > these operations into

Re: [Mesa-dev] [PATCH] disk cache: Link with -latomic if necessary

2018-02-26 Thread Dylan Baker
Quoting Thierry Reding (2018-02-23 05:18:28) > From: Thierry Reding > > The disk cache implementation uses 64-bit atomic operations. For some > architectures, such as 32-bit ARM, GCC will not be able to translate > these operations into lock-free instructions and will instead

Re: [Mesa-dev] [PATCH] disk cache: Link with -latomic if necessary

2018-02-26 Thread Matt Turner
On Fri, Feb 23, 2018 at 5:18 AM, Thierry Reding wrote: > From: Thierry Reding > > The disk cache implementation uses 64-bit atomic operations. For some > architectures, such as 32-bit ARM, GCC will not be able to translate > these operations into

[Mesa-dev] [PATCH] disk cache: Link with -latomic if necessary

2018-02-23 Thread Thierry Reding
From: Thierry Reding The disk cache implementation uses 64-bit atomic operations. For some architectures, such as 32-bit ARM, GCC will not be able to translate these operations into lock-free instructions and will instead rely on the external atomics library to provide these