Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YMOCY-00048q-7U for pgsql-bugs@arkaria.postgresql.org; Fri, 13 Feb 2015 21:55:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YMOCX-0000ey-JV for pgsql-bugs@arkaria.postgresql.org; Fri, 13 Feb 2015 21:55:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YMOCW-0000eS-Mx for pgsql-bugs@postgresql.org; Fri, 13 Feb 2015 21:55:04 +0000 Received: from mout.kundenserver.de ([212.227.126.130]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YMOCO-0005O5-18 for pgsql-bugs@postgresql.org; Fri, 13 Feb 2015 21:55:03 +0000 Received: from anarazel.de ([84.137.81.38]) by mrelayeu.kundenserver.de (mreue003) with ESMTPSA (Nemesis) id 0Lla8x-1XlxNv3H9j-00bIU3; Fri, 13 Feb 2015 22:54:49 +0100 Received: by anarazel.de (Postfix, from userid 1000) id 893D81009DF; Fri, 13 Feb 2015 22:54:40 +0100 (CET) Date: Fri, 13 Feb 2015 22:54:40 +0100 From: Andres Freund To: rob.rowan@ngc.com Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #12770: Syntax error in a header file for sparcv8 elif errors compiling Message-ID: <20150213215440.GA3975@awork2.anarazel.de> References: <20150213194518.2586.61637@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150213194518.2586.61637@wrigleys.postgresql.org> X-Provags-ID: V03:K0:SIuTfHuQ7Oyjec3iSwl/Pf7+OO1rQJ3a+zMKKXkb2LXPN/KtQaZ E3cx27ZLCv/egb7Yp5d3jNuu4ffhwoPUzjDRwUMiKvQBVvsbMqhi7TSzdQ2824X1UG9ji24 kDw5T1itQ8rZOP6xKBWDSpxGo1KYXzwk/A69/I4kSMYr0bCs6CHvQR0fG0PvHO9GIRm1g5Q ou4v6Ykat43cwaZESTrEw== X-UI-Out-Filterresults: notjunk:1; X-Pg-Spam-Score: -1.9 (-) 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 Hi, On 2015-02-13 19:45:18 +0000, rob.rowan@ngc.com wrote: > The following bug has been logged on the website: > > Bug reference: 12770 > Logged by: Rob Rowan > Email address: rob.rowan@ngc.com > PostgreSQL version: 9.4.1 > Operating system: SunOS 5.10 Generic_141444-09 sun4u sparc SUNW > Description: > > In src/include/storage/s_lock.h > Line 447 > I believe the line that currently says: > elif __sparcv8 > Should be: > elif defined(__sparcv8) > > It compiled fine after I made that change. > If you have any questions, feel free to email me. Thanks for the report! Will fix. Any chance you could contribute a buildfarm animal (wiki.postgresql.org/wiki/PostgreSQL_Buildfarm_Howto) for sparcv8? It's hard to keep supporting platforms without getting feedback during development. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs