Re: [Mesa-dev] [PATCH] configure.ac: rework -latomic check

2018-05-10 Thread Matt Turner
On Thu, May 10, 2018 at 1:43 AM, Thomas Petazzoni wrote: > Hello Matt, > > On Wed, 9 May 2018 16:30:12 -0700, Matt Turner wrote: > >> Hi Thomas, >> >> I rebased this patch on >> >> commit 54ba73ef102f7b9085922686bb31719539e0dc3c >> Author: Nicolas

Re: [Mesa-dev] [PATCH] configure.ac: rework -latomic check

2018-05-10 Thread Thomas Petazzoni
Hello Matt, On Wed, 9 May 2018 16:30:12 -0700, Matt Turner wrote: > Hi Thomas, > > I rebased this patch on > > commit 54ba73ef102f7b9085922686bb31719539e0dc3c > Author: Nicolas Boichat > Date: Thu Apr 5 09:33:09 2018 +0800 > >

[Mesa-dev] [PATCH] configure.ac: rework -latomic check

2018-05-09 Thread Matt Turner
From: Thomas Petazzoni The configure.ac logic added in commit 2ef7f23820a67e958c2252bd81eb0458903ebf33 ("configure: check if -latomic is needed for __atomic_*") makes the assumption that if a 64-bit atomic intrinsic test program fails to link without -latomic, it is

Re: [Mesa-dev] [PATCH] configure.ac: rework -latomic check

2018-05-07 Thread Thomas Petazzoni
Hello, On Mon, 7 May 2018 14:07:05 -0700, Matt Turner wrote: > On Mon, May 7, 2018 at 4:34 AM, Thomas Petazzoni > wrote: > > The configure.ac logic added in commit > > 2ef7f23820a67e958c2252bd81eb0458903ebf33 ("configure: check if > > -latomic is needed for

Re: [Mesa-dev] [PATCH] configure.ac: rework -latomic check

2018-05-07 Thread Matt Turner
On Mon, May 7, 2018 at 4:34 AM, Thomas Petazzoni wrote: > The configure.ac logic added in commit > 2ef7f23820a67e958c2252bd81eb0458903ebf33 ("configure: check if > -latomic is needed for __atomic_*") makes the assumption that if a > 64-bit atomic intrinsic test

[Mesa-dev] [PATCH] configure.ac: rework -latomic check

2018-05-07 Thread Thomas Petazzoni
The configure.ac logic added in commit 2ef7f23820a67e958c2252bd81eb0458903ebf33 ("configure: check if -latomic is needed for __atomic_*") makes the assumption that if a 64-bit atomic intrinsic test program fails to link without -latomic, it is because we must use -latomic. Unfortunately, this is