Andres Freund <and...@anarazel.de> writes: > On 2019-05-22 15:55:50 -0400, Tom Lane wrote: >>> So the disturbing thing here is that we no longer have any active >>> buildfarm members that can build HEAD but have the won't-elide- >>> unused-static-functions problem. Clearly we'd better close that >>> gap somehow ... anyone have an idea about how to test it better?
> I'm somewhat inclined to just declare that people using such old > compilers ought to just use something newer. Having to work around > broken compilers that are so old that we don't even have a buildfarm > animal actually exposing that behaviour, seems like wasted effort. IMO > it'd make sense to just treat this as part of the requirements for a C99 > compiler. TBH, I too supposed the requirement for this had gone away with the C99 move. But according to the discussion today on -packagers, there are still supported variants of Solaris that have compilers that speak C99 but don't have this behavior. Per Bjorn's report: >> The compiler used in Sun Studio 12u1, very old and and I can try to >> upgrade and see if that helps. > I tried Sun Studio 12u2 and then a more drastic upgrade to Developer > Studio 12.5 but both had the same effect. It doesn't sound like "use a newer compiler" is going to be a helpful answer there. (It is annoying that nobody is running such a platform in the buildfarm, I agree. But I don't have the resources to spin up a real-Solaris buildfarm member.) regards, tom lane