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