Build broken on mips - Mailing list pgsql-bugs

From Rémi Zara
Subject Build broken on mips
Date
Msg-id 7694DCD3-8D3E-4893-92A4-DE43E88DB15D@mac.com
Whole thread Raw
Responses Re: Build broken on mips
Re: Build broken on mips
List pgsql-bugs
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


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #11904: out of memory when scanning large number of partitions
Next
From: connor.penhale@openlogic.com
Date:
Subject: BUG #11905: "Error: Wrong key or corrupt data" with pgp_sym_decrypt when bytea size is 2^x - 6 where x >=14