Re: Build broken on mips - Mailing list pgsql-bugs

From Heikki Linnakangas
Subject Re: Build broken on mips
Date
Msg-id 5461C84F.1050506@vmware.com
Whole thread Raw
In response to Re: Build broken on mips  (Heikki Linnakangas <hlinnakangas@vmware.com>)
List 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

pgsql-bugs by date:

Previous
From: Marti Raudsepp
Date:
Subject: Re: [DOCS] BUG #11661: CASE ELSE is evaluated although condition is true
Next
From: dimongrechko@gmail.com
Date:
Subject: BUG #11937: Server 2008