Re: [PATCH] Fix build break around __atomic_*() with GCC<4.7

2018-08-22 Thread Nicolas Iooss
On Tue, Aug 14, 2018 at 2:02 PM Hollis Blanchard wrote: > > On 08/13/2018 02:18 PM, Tom Cherry wrote: > > On Mon, Aug 13, 2018 at 1:49 PM Hollis Blanchard > > wrote: > >> On 08/13/2018 01:45 PM, Tom Cherry wrote: > >>> On Mon, Aug 13, 2018 at 12:43 PM Hollis Blanchard > >>> wrote: > The

Re: [PATCH] Fix build break around __atomic_*() with GCC<4.7

2018-08-14 Thread Hollis Blanchard
On 08/13/2018 02:18 PM, Tom Cherry wrote: On Mon, Aug 13, 2018 at 1:49 PM Hollis Blanchard wrote: On 08/13/2018 01:45 PM, Tom Cherry wrote: On Mon, Aug 13, 2018 at 12:43 PM Hollis Blanchard wrote: The __atomic_* GCC primitives were introduced in GCC 4.7, but Red Hat Enterprise Linux 6.x

Re: [PATCH] Fix build break around __atomic_*() with GCC<4.7

2018-08-14 Thread Hollis Blanchard
On 08/13/2018 01:45 PM, Tom Cherry wrote: On Mon, Aug 13, 2018 at 12:43 PM Hollis Blanchard wrote: The __atomic_* GCC primitives were introduced in GCC 4.7, but Red Hat Enterprise Linux 6.x (for example) provides GCC 4.4. Tweak the current code to use the (most conservative)

Re: [PATCH] Fix build break around __atomic_*() with GCC<4.7

2018-08-13 Thread Tom Cherry via Selinux
On Mon, Aug 13, 2018 at 1:49 PM Hollis Blanchard wrote: > > On 08/13/2018 01:45 PM, Tom Cherry wrote: > > On Mon, Aug 13, 2018 at 12:43 PM Hollis Blanchard > > wrote: > >> The __atomic_* GCC primitives were introduced in GCC 4.7, but Red Hat > >> Enterprise Linux 6.x (for example) provides GCC

Re: [PATCH] Fix build break around __atomic_*() with GCC<4.7

2018-08-13 Thread Tom Cherry via Selinux
On Mon, Aug 13, 2018 at 12:43 PM Hollis Blanchard wrote: > > The __atomic_* GCC primitives were introduced in GCC 4.7, but Red Hat > Enterprise Linux 6.x (for example) provides GCC 4.4. Tweak the current code to > use the (most conservative) __sync_synchronize() primitive provided by those >

[PATCH] Fix build break around __atomic_*() with GCC<4.7

2018-08-13 Thread Hollis Blanchard
The __atomic_* GCC primitives were introduced in GCC 4.7, but Red Hat Enterprise Linux 6.x (for example) provides GCC 4.4. Tweak the current code to use the (most conservative) __sync_synchronize() primitive provided by those older GCC versions. Fixes