From: | Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> |
---|---|
To: | PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | new buildfarm with gcc & clang "trunk" -Werror? |
Date: | 2018-03-28 08:06:31 |
Message-ID: | alpine.DEB.2.20.1803280832400.28573@lancre |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Dear devs,
I've been running buildfarm members moonjelly and seawasp which use gcc &
clang weekly recompiled trunk versions to build postgres branch HEAD for
about 6 months
These helped uncover bugs in both gcc & clang, which were reported and
fixed, so there is a benefit on this side.
These compilations currently fail with -Werror. "gcc trunk" generates 44
warnings about snprintf-related possible truncations, anc "clang trunk"
generates 68 warnings about undeclared strl* functions.
Would the project feel appropriate to:
- fix these warnings (other than putting -Wno-format-truncation or
similar workarounds...).
- add permanent gcc/clang trunk beasts with -Werror
(if so, I'd suggest cannonball & seanettle for the names).
The rational is that postgres will need to be compilable with future
versions of these compilers, eventually, so the earlier issues are
detected the better. Also, warnings help detect latent bugs.
However these beasts would be more unstable than others, eg start failing
when a new warning is added. They are somehow already unstable though, as
every few month postgres compilation would fail because of a new bug in
the compilers.
--
Fabien.
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2018-03-28 08:12:56 | Re: new buildfarm with gcc & clang "trunk" -Werror? |
Previous Message | Andres Freund | 2018-03-28 08:02:51 | Re: Proposal: http2 wire format |