From 9db300ce6e38411144f1e36dba345a5f91bbdee4 Mon Sep 17 00:00:00 2001 From: Thomas Munro Date: Fri, 8 Jul 2022 11:17:47 +1200 Subject: Remove HP-UX port. HP-UX hardware is no longer produced, build farm coverage recently ended, and there are no known active maintainers targeting this OS. Since there is a major rewrite of the build system in the pipeline for PostgreSQL 16, and that requires development, testing and maintainance for each OS and tool chain, it seems like a good time to drop support for: * HP-UX, the operating system. * HP aCC, the HP-UX native compiler. Reviewed-by: Tom Lane Reviewed-by: Andres Freund Reviewed-by: Peter Eisentraut Discussion: https://postgr.es/m/1415825.1656893299%40sss.pgh.pa.us --- src/backend/tcop/postgres.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/backend/tcop/postgres.c') diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 5ab91c2c581..cbb0ec606f9 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -3396,7 +3396,7 @@ ProcessInterrupts(void) /* * IA64-specific code to fetch the AR.BSP register for stack depth checks. * - * We currently support gcc, icc, and HP-UX's native compiler here. + * We currently support gcc and icc here. * * Note: while icc accepts gcc asm blocks on x86[_64], this is not true on * ia64 (at least not in icc versions before 12.x). So we have to carry a @@ -3404,11 +3404,7 @@ ProcessInterrupts(void) */ #if defined(__ia64__) || defined(__ia64) -#if defined(__hpux) && !defined(__GNUC__) && !defined(__INTEL_COMPILER) -/* Assume it's HP-UX native compiler */ -#include -#define ia64_get_bsp() ((char *) (_Asm_mov_from_ar(_AREG_BSP, _NO_FENCE))) -#elif defined(__INTEL_COMPILER) +#if defined(__INTEL_COMPILER) /* icc */ #include #define ia64_get_bsp() ((char *) __getReg(_IA64_REG_AR_BSP)) -- cgit v1.2.3