Re: linux sparc compile issue - Mailing list pgsql-hackers

From Andres Freund
Subject Re: linux sparc compile issue
Date
Msg-id 20150810214850.GE11513@awork2.anarazel.de
Whole thread Raw
In response to Re: linux sparc compile issue  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 2015-08-10 17:36:57 -0400, Tom Lane wrote:
> Waldemar Brodkorb <wbx@openadk.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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: Fix pg_dump to dump shell types.
Next
From: Andrew Dunstan
Date:
Subject: Re: tap tests remove working directories