Re: AIX support - alignment issues
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Peter Geoghegan <pg@bowt.ie>, Andres Freund <andres@anarazel.de>,
Noah Misch <noah@leadboat.com>, Robert Haas <robertmhaas@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2022-07-06T03:47:10Z
Lists: 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
Commits
-
Doc: Acknowledge historically supported CPUs and OSes.
- 14168d3c62fa 16.0 landed
-
Further tidy-up for old CPU architectures.
- 718aa43a4ee6 16.0 landed
-
Tidy up claimed supported CPUs and OSes.
- 92d70b77ebb4 16.0 landed
-
Remove HP/Intel Itanium support.
- 0ad5b48e5894 16.0 landed
-
Remove HP-UX port.
- 9db300ce6e38 16.0 landed
-
Reorder subskiplsn in pg_subscription to avoid alignment issues.
- 79b716cfb7a1 15.0 cited
-
Tighten TAP tests' tracking of postmaster state some more.
- 4fdbf9af5184 15.0 cited
-
Reorder pg_sequence columns to avoid alignment issue
- f3b421da5f4a 10.0 cited