RFR: 8330047: ASAN build error with gcc 13

Sonia Zaldana Calles szaldana at openjdk.org
Thu Apr 18 14:35:16 UTC 2024


Hi all,

This PR addresses [8330047](https://bugs.openjdk.org/browse/JDK-8330047).

This is the workaround suggested in the comments. Might be worthwhile to include this patch as the recommended toolchain version for [building](https://openjdk.org/groups/build/doc/building.html) the JDK is currently gcc 13.2.0.

Testing: 
- [x] Reproduced build failure with gcc 13.2.0.
- [x] Verified release build is successful after patch with ```--enable-asan```. 

Thanks, 
Sonia

-------------

Commit messages:
 - 8330047: ASAN build error with gcc 13

Changes: https://git.openjdk.org/jdk/pull/18825/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18825&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8330047
  Stats: 7 lines in 2 files changed: 7 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/18825.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18825/head:pull/18825

PR: https://git.openjdk.org/jdk/pull/18825


More information about the hotspot-gc-dev mailing list