gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] Fedora 22 (gcc 5) -- compile fails on memory_order_seq_cs


From: Gergely Imreh
Subject: Re: [gpsd-dev] Fedora 22 (gcc 5) -- compile fails on memory_order_seq_cst scoping
Date: Thu, 3 Dec 2015 22:27:35 +0800

Hi Jason,

This seems like the exact same issue I've reported last week (subject: "compile issue: header not necessarily included for atomic_thread_fence"). There are some come comments in that thread, and coming up with suggestions on how it might be fixed.

Cheers,
   Gergely

On 3 December 2015 at 20:42, Jason Azze <address@hidden> wrote:
ESR's push (not directly related to the build failure) this morning triggered the first automated build since Jon's last changes in October.  At some point between then and now I upgraded my builder to Fedora 22. Now the build is broken on that system.

This is probably due to f22 switching to gcc 5.

http://pastebin.com/ukaeZmWk

In file included from clock_gettime.c:10:0:
compiler.h: In function 'void memory_barrier()':
compiler.h:83:25: error: 'memory_order_seq_cst' was not declared in this scope
     atomic_thread_fence(memory_order_seq_cst);
                         ^
compiler.h:83:45: error: 'atomic_thread_fence' was not declared in this scope
     atomic_thread_fence(memory_order_seq_cst);
                                             ^
scons: *** [qt-clock_gettime.os] Error 1
scons: building terminated because of errors.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]