Re: Trying out <stdatomic.h>

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Greg Burd <greg(at)burd(dot)me>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Trying out <stdatomic.h>
Date: 2025-11-23 18:17:32
Message-ID: 202511231759.kyugt46qrvxt@alvherre.pgsql
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2025-Nov-23, Tom Lane wrote:

> "Greg Burd" <greg(at)burd(dot)me> writes:
> > I have another Illumos animal in the works, but if the plan is to deprecate that platform I can set that aside. As an old Sun engineer I hate to see it disappear, but it is basically EOL at this point.
>
> I think we can keep it going as long as there are people interested
> in it. The gating factor at present is probably whether it can
> provide an adequate C11 environment. But so far I've observed no
> issues with the existing BF members.

Right -- we have

billbug Solaris 11.4.81 CBE 04.2025 gcc 14.2.0
hake OpenIndiana / Illumos gcc 9.3.0
margay Solaris 11.4.42 CBE gcc 11.2.0
pollock OmniOS / illumos gcc 10.2.0

Hake actually says:
gcc (OpenIndiana 13.3.0-oi-2) 13.3.0

and pollock:
gcc (OmniOS 151054/14.2.0-il-1) 14.2.0

so it looks like the oldest is Margay's 11.2, which claims [1] to
support C11, though there are some bugs that were claimed fixed in later
releases of GCC 11.x related to alignment[2]. Perhaps relevant, but I
only searched the strings "align" and "c11" there, they may not apply to
our usage. At least the owner of margay and billbug is active, so we
can probably get the compiler in these machines updated if needed.

[1] https://gcc.gnu.org/onlinedocs/gcc-11.2.0/gcc/Standards.html#C-Language
[2] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=11.3
and further for 11.4, 11.5, 11.6.

--
Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2025-11-23 19:32:46 Re: Extended test coverage and docs for SSL passphrase commands
Previous Message Tom Lane 2025-11-23 17:02:17 Re: Trying out <stdatomic.h>