[MDEV-22863] compilation failure on centos74-amd64-debug Created: 2020-06-10 Updated: 2020-06-11 Resolved: 2020-06-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Compiling |
| Affects Version/s: | 10.5 |
| Fix Version/s: | 10.5.4 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Sergei Golubchik | Assignee: | Marko Mäkelä |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
|
| Comments |
| Comment by Marko Mäkelä [ 2020-06-11 ] | ||||||||||||||||||||||||||||
|
I cannot repeat this with GCC 8.4.0 or GCC 9.3.0. GCC 8.4.0 issued a different, totally bogus-looking warning to me:
The code in question did check for overflow. (The patch is a no-op, just to highlight where the code was expanded.)
The problem appears to be a mismatch with the PERFORMANCE_SCHEMA ABI:
Why, oh why, int instead of size_t? | ||||||||||||||||||||||||||||
| Comment by Marko Mäkelä [ 2020-06-11 ] | ||||||||||||||||||||||||||||
|
This was affecting bld-p9-rhel7 as well. And that builder is fixed now. The -Wconversion in GCC 4.8.5 would apparently complain about the sign mismatch between int and size_t. |