Re: [HACKERS] linux sparc compile issue

2015-08-10 Thread Waldemar Brodkorb
Hi Tom, Tom Lane wrote, Waldemar Brodkorb w...@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

[HACKERS] linux sparc compile issue

2015-08-10 Thread Waldemar Brodkorb
Hi, 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__ Signed-off-by: Waldemar

Re: [HACKERS] linux sparc compile issue

2015-08-10 Thread Andres Freund
On 2015-08-10 17:36:57 -0400, Tom Lane wrote: Waldemar Brodkorb w...@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

Re: [HACKERS] linux sparc compile issue

2015-08-10 Thread Tom Lane
Waldemar Brodkorb w...@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