pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rémi Zara <remi_zara@mac.com>
To: pgsql-bugs@postgresql.org
Subject: Build broken on mips
Date: Fri, 7 Nov 2014 23:25:50 +0100
Message-ID: <7694DCD3-8D3E-4893-92A4-DE43E88DB15D@mac.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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):


inline patch 1: src/include/storage/s_lock.h (+4/-3 lines) download inline-1.patch--- ../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 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs

view thread (7+ messages)  latest in thread

Message-ID: <7694DCD3-8D3E-4893-92A4-DE43E88DB15D@mac.com>
Permalink:  ../7694DCD3-8D3E-4893-92A4-DE43E88DB15D@mac.com/
Also on:    postgresql.org/message-id/7694DCD3-8D3E-4893-92A4-DE43E88DB15D@mac.com

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: remi_zara@mac.com
  Subject: Re: Build broken on mips
  In-Reply-To: <7694DCD3-8D3E-4893-92A4-DE43E88DB15D@mac.com>
  References: <7694DCD3-8D3E-4893-92A4-DE43E88DB15D@mac.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox