Hi,
The build is broken on mips on the HEAD branch.
Here is a patch to fix that (builds and make check is OK on NetBSD/cobalt 7.99.1, GCC 4.8.4):
--- ../pgsql/src/include/storage/s_lock.h 2014-11-05 21:01:05.000000000 +0100
+++ src/include/storage/s_lock.h 2014-11-06 23:12:42.000000000 +0100
@@ -601,9 +601,10 @@ " .set noreorder \n" \ " .set nomacro \n" \
" sync \n" \
- " .set pop "
-:
-: "memory");
+ " .set pop " \
+: \
+: \
+: "memory"); \ *((volatile slock_t *) (lock)) = 0; \} while (0)
Regards,
Rémi Zara