Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xo6nI-0001SL-2j for pgsql-bugs@arkaria.postgresql.org; Tue, 11 Nov 2014 08:27:20 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xo6nH-0001GO-1c for pgsql-bugs@arkaria.postgresql.org; Tue, 11 Nov 2014 08:27:19 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Xo6n5-0000uX-1Y for pgsql-bugs@postgresql.org; Tue, 11 Nov 2014 08:27:07 +0000 Received: from smtp-outbound-2.vmware.com ([208.91.2.13]) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Xo6mz-000191-OP for pgsql-bugs@postgresql.org; Tue, 11 Nov 2014 08:27:03 +0000 Received: from sc9-mailhost3.vmware.com (sc9-mailhost3.vmware.com [10.113.161.73]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id B286D28569; Tue, 11 Nov 2014 00:26:59 -0800 (PST) Received: from EX13-CAS-002.vmware.com (EX13-CAS-002.vmware.com [10.113.191.52]) by sc9-mailhost3.vmware.com (Postfix) with ESMTP id AEC444192D; Tue, 11 Nov 2014 00:26:59 -0800 (PST) Received: from EX13-MBX-024.vmware.com (10.113.191.44) by EX13-MBX-011.vmware.com (10.113.191.31) with Microsoft SMTP Server (TLS) id 15.0.775.38; Tue, 11 Nov 2014 00:26:59 -0800 Received: from [192.168.1.90] (10.113.160.246) by EX13-MBX-024.vmware.com (10.113.191.44) with Microsoft SMTP Server (TLS) id 15.0.775.38; Tue, 11 Nov 2014 00:26:58 -0800 Message-ID: <5461C84F.1050506@vmware.com> Date: Tue, 11 Nov 2014 10:26:55 +0200 From: Heikki Linnakangas Organization: VMware User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0 MIME-Version: 1.0 To: =?UTF-8?B?UsOpbWkgWmFyYQ==?= , Subject: Re: Build broken on mips References: <7694DCD3-8D3E-4893-92A4-DE43E88DB15D@mac.com> <54614577.6070301@vmware.com> In-Reply-To: <54614577.6070301@vmware.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.113.160.246] X-ClientProxiedBy: EX13-CAS-013.vmware.com (10.113.191.65) To EX13-MBX-024.vmware.com (10.113.191.44) X-Pg-Spam-Score: -7.4 (-------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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