[jdk11u-dev] RFR: 8247818: GCC 10 warning stringop-overflow with symbol code
Jonathan Dowland
jdowland at openjdk.org
Wed Jan 10 13:21:39 UTC 2024
11u-dev is tricky to build with GCC 11 and newer. GCC 11 is the default version in current Debian stable (and likely derivatives e.g. Ubuntu, but I have not checked) as well as RHEL 9 (and derivatives, likewise unchecked), so I think it's worthwhile to improve that.
This particular patch addresses one of the obstacles (a warning from GCC 10 onwards). It doesn't apply clean, but cherry-pick conflicts were trivial to resolve. It was backported from 16 to 15 and 13 and seems worthwhile for 11u.
-------------
Commit messages:
- 8247818: GCC 10 warning stringop-overflow with symbol code
Changes: https://git.openjdk.org/jdk11u-dev/pull/2451/files
Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2451&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8247818
Stats: 8 lines in 2 files changed: 0 ins; 7 del; 1 mod
Patch: https://git.openjdk.org/jdk11u-dev/pull/2451.diff
Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2451/head:pull/2451
PR: https://git.openjdk.org/jdk11u-dev/pull/2451
More information about the jdk-updates-dev
mailing list