https://bugs.kde.org/show_bug.cgi?id=511974
Bug ID: 511974
Summary: Valgrind fails to build with GCC 16
(x86_64-pc-linux-gnu-gcc: error: unrecognized
command-line option
‘-Wno-alloc-size-larger-than=18446744073709551615’)
Classification: Developer tools
Product: valgrind
Version First 3.24 GIT
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
With GCC trunk (see r16-5128-g5b276d38c2fdd7), -Wno-alloc-size-larger-than=XYZ
is rejected, as it doesn't make sense, and I get a build failure for Valgrind
trunk:
```
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option
‘-Wno-alloc-size-larger-than=18446744073709551615’
make[5]: *** [Makefile:3519: accounting-accounting.o] Error 1
```
commit ca61eb9faf603e08146f3f4273c942bcf467fc84
Author: Paul Floyd <[email protected]>
AuthorDate: Mon Oct 13 20:50:10 2025 +0200
Commit: Paul Floyd <[email protected]>
CommitDate: Mon Oct 13 20:50:10 2025 +0200
configure: correct the value for -Wno-alloc-size-larger-than
commit ed4463ff3f1b5d15a5ad8962b36e525e6a89cfb4
Author: Paul Floyd <[email protected]>
AuthorDate: Mon Oct 13 13:02:52 2025 +0200
Commit: Paul Floyd <[email protected]>
CommitDate: Mon Oct 13 13:02:52 2025 +0200
configure: hard code -Wno-alloc-size-larger-than=2147483647
Should be OK for both 32bit and 64bit.
Remove AC_GCC_WARNING_SUBST_NO_VAL - always need to set a value.
--
You are receiving this mail because:
You are watching all bug changes.