Re: Build broken on mips

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Rémi Zara <remi_zara(at)mac(dot)com>, <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Build broken on mips
Date: 2014-11-11 08:26:55
Message-ID: 5461C84F.1050506@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message dimongrechko 2014-11-11 09:38:09 BUG #11937: Server 2008
Previous Message Marti Raudsepp 2014-11-11 08:26:02 Re: [BUGS] BUG #11661: CASE ELSE is evaluated although condition is true