Build broken on mips

From: Rémi Zara <remi_zara(at)mac(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Build broken on mips
Date: 2014-11-07 22:25:50
Message-ID: 7694DCD3-8D3E-4893-92A4-DE43E88DB15D@mac.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Sergey Koposov 2014-11-08 01:39:28 Re: BUG #11904: out of memory when scanning large number of partitions
Previous Message connor.penhale 2014-11-07 21:56:38 BUG #11905: "Error: Wrong key or corrupt data" with pgp_sym_decrypt when bytea size is 2^x - 6 where x >=14