From: Heikki Linnakangas <hlinnakangas@vmware.com>
To: Rémi Zara <remi_zara@mac.com>
To: pgsql-bugs@postgresql.org
Subject: Re: Build broken on mips
Date: Tue, 11 Nov 2014 10:26:55 +0200
Message-ID: <5461C84F.1050506@vmware.com> (raw)
In-Reply-To: <54614577.6070301@vmware.com>
References: <7694DCD3-8D3E-4893-92A4-DE43E88DB15D@mac.com>
<54614577.6070301@vmware.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 11/11/2014 01:08 AM, Heikki Linnakangas wrote:
> On 11/08/2014 12:25 AM, Rémi Zara wrote:
>> 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):
>
> Thanks, committed!
To verify this, I tried compiling PostgreSQL on a emulated qemu mips64el
Debian system, and this still doesn't work:
> gcc -O0 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -I../../../../src/include -D_GNU_SOURCE -c -o xlog.o xlog.c
> xlog.c: In function ‘XLogInsertRecord’:
> xlog.c:1022:3: error: expected ‘(’ before ‘)’ token
> xlog.c: In function ‘ReserveXLogInsertLocation’:
Looks like I missed the additional colon you had in your patch. Oops.
I'll go fix that.
- Heikki
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: hlinnakangas@vmware.com, remi_zara@mac.com
Subject: Re: Build broken on mips
In-Reply-To: <5461C84F.1050506@vmware.com>
References: <7694DCD3-8D3E-4893-92A4-DE43E88DB15D@mac.com> <54614577.6070301@vmware.com> <5461C84F.1050506@vmware.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