percona-xtradb-cluster: FTBFS with gcc7.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
percona-xtradb-cluster-5.6 (Ubuntu) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
[Impact]
* gcc 7 has new errors it detects as well as some extended logic to
detect more cases of those error classes it had before. By that the
transition to gcc-7 has broken the percona build.
* There is no upstream fix to this already that can be backported, and
the errors are too manifold to rewrite that much code without a risk.
* Therefore wherever possible we just tell gcc to not consider the new
warnings errors, despite otherwise runnign with -Werror
* There are two cases that can't just be done via compiler flags:
- a missing define that was caused by the former bugfix upload
- a ISO format error that can't be made a Warning only with -Werror but
is rather easy to fix.
[Test Case]
* Build the package
[Regression Potential]
* While the actual changes were minimized to only change as few code as
possible to avoid negative effects there could be some. For example
most of the comparisons fixed formerly had no effect, now they do so
that might be a slight change. Never the less just compiling with the
newer compiler might have had just as much effect. Tests by Niedibalski
were good so it is not generally broken, but a subtle effect as
described can't be eliminated by 100% - OTOH it should still be safe
enough IMHO.
[Other Info]
* The changes can be reviewed more easily in broken down commits at:
https:/
* The FTBFS would block SRU activity later on as well as currently is
blocking an SRU to older releases which is waiting to have the fix in
the new release as well.
* This is certainly ok to be a 0day update and no need to affect the ISO,
yet version wise I assumed this will happen before the copy for BB, so
versions are still incrementing "normally", not in SRU style.
---
Multiple errors are being detected while compiling with the latest gcc included
in artful.
gcc-7-base ppc64el 7.2.0-2ubuntu1
libgcc1 ppc64el 1:7.2.0-2ubuntu1
Log for a recent build:
tags: | added: artful ftbfs |
Changed in percona-xtradb-cluster-5.6 (Ubuntu): | |
importance: | Undecided → Critical |
status: | New → In Progress |
assignee: | nobody → Jorge Niedbalski (niedbalski) |
Changed in percona-xtradb-cluster-5.6 (Ubuntu): | |
status: | In Progress → Confirmed |
Changed in percona-xtradb-cluster-5.6 (Ubuntu): | |
assignee: | Jorge Niedbalski (niedbalski) → nobody |
description: | updated |
FYI - As the fix for this was attached to bug 1657256 I iterated on the fix there.