pgsql: Remove traces of support for Sun Studio compiler

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove traces of support for Sun Studio compiler
Date: 2025-09-12 05:45:33
Message-ID: E1uwwbF-000ILz-0I@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove traces of support for Sun Studio compiler

Per discussion, this compiler suite is no longer maintained, and
it has not been able to compile PostgreSQL since at least PostgreSQL
17.

This removes all the remaining support code for this compiler.

Note that the Solaris operating system continues to be supported, but
using GCC as the compiler.

Reviewed-by: Andres Freund <andres(at)anarazel(dot)de>
Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://www.postgresql.org/message-id/flat/a0f817ee-fb86-483a-8a14-b6f7f5991b6e%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/25f36066dd2abde74faa12f08e5e498a95128cd0

Modified Files
--------------
config/c-compiler.m4 | 2 +-
configure | 53 +-------------
configure.ac | 31 +-------
doc/src/sgml/dfunc.sgml | 9 +--
doc/src/sgml/installation.sgml | 60 ++--------------
meson.build | 2 +-
src/Makefile.global.in | 4 --
src/backend/port/Makefile | 12 ----
src/backend/port/tas/sunstudio_sparc.s | 53 --------------
src/backend/port/tas/sunstudio_x86.s | 43 ------------
src/backend/storage/lmgr/Makefile | 6 +-
src/include/c.h | 15 ++--
src/include/port/atomics.h | 2 -
src/include/port/atomics/arch-x86.h | 2 +-
src/include/port/atomics/generic-sunpro.h | 113 ------------------------------
src/include/port/solaris.h | 21 ------
src/include/storage/s_lock.h | 24 +------
src/makefiles/meson.build | 4 +-
src/template/linux | 23 ------
src/template/solaris | 29 +-------
src/tools/pginclude/headerscheck | 1 -
21 files changed, 24 insertions(+), 485 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2025-09-12 06:05:45 pgsql: Default to log_lock_waits=on
Previous Message Peter Eisentraut 2025-09-12 05:35:36 pgsql: Silence compiler warnings on clang 21