|
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 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |