Re: linux sparc compile issue

From: Andres Freund <andres(at)anarazel(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Waldemar Brodkorb <wbx(at)openadk(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: linux sparc compile issue
Date: 2015-08-10 21:48:51
Message-ID: 20150810214850.GE11513@awork2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2015-08-10 17:36:57 -0400, Tom Lane wrote:
> Waldemar Brodkorb <wbx(at)openadk(dot)org> writes:
> > while doing regular builds via buildroot autobuilders
> > a compile problem for sparc 32bit v8 was found.
> > It seems the defines for Linux are other than for Solaris.
>
> > Following patch fixes it for buildroot:
> > The gcc predefines for Linux are __sparc_v8__/__sparc_v7__
>
> I've applied your suggested patch for this, but I'm a bit curious what
> version of gcc you are using; our code's been like that for a very long
> time and nobody complained before.

Hm. Could this be caused by using a new solaris studio compiler? It
apparently uses gcc as a frontend and thus might actually reach that bit
of code.

Greetings,

Andres Freund

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2015-08-10 21:52:15 Re: tap tests remove working directories
Previous Message Tom Lane 2015-08-10 21:48:44 Re: [COMMITTERS] pgsql: Fix pg_dump to dump shell types.