Re: AIX support - alignment issues - Mailing list pgsql-hackers

From Tom Lane
Subject Re: AIX support - alignment issues
Date
Msg-id 2073146.1657079230@sss.pgh.pa.us
Whole thread Raw
In response to Re: AIX support - alignment issues  (Thomas Munro <thomas.munro@gmail.com>)
Responses Re: AIX support - alignment issues
List pgsql-hackers
Thomas Munro <thomas.munro@gmail.com> writes:
> OK, here's a new attempt, this time leaving the hppa bits in.  The
> main tricksy bit is where s_lock.h is simplified a bit by moving the
> fully inline GCC-only hppa support up a bit (it was handled a bit
> weirdly with some #undef jiggery-pokery before to share stuff between
> aCC and GCC), making the diff a little hard to follow.  Does this make
> sense?  It might also be possible to drop one of __hppa and __hppa__
> where they are both tested (not clear to me if that is an aCC/GCC
> thing).  I have no idea if this'll actually work (or ever worked) on
> NetBSD/hppa... if it comes to it I could try to boot it under
> qemu-system-hppa if that's what it takes, but it may be easy for you
> to test...

Our HEAD does work on that NetBSD installation.  I can try this
patch, but it'll take an hour or two to get results ... stay tuned.

I'm not sure about the __hppa vs __hppa__ thing.  If we're assuming
that NetBSD is the only remaining hppa platform of interest, then
clearly only one of those is needed, but I don't know which one
should be preferred.  It appears that both are defined on NetBSD.

(FWIW, I know that OpenBSD works on this machine too, or did the
last time I tried it.  But it probably has the same opinions
as NetBSD about predefined macros.)

            regards, tom lane



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Re-order "disable_on_error" in tab-complete COMPLETE_WITH
Next
From: Peter Smith
Date:
Subject: Re: Re-order "disable_on_error" in tab-complete COMPLETE_WITH