RFR: 8330047: ASAN build error with gcc 13 [v3]

Sonia Zaldana Calles szaldana at openjdk.org
Mon Jun 3 18:46:21 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.
> 
> [Update June 3rd] 
> I modified the patch to use @xmas92's suggestion instead. 
> 
> Testing: 
> - [x] Reproduced build failure with gcc 13.2.0.
> - [x] Verified release build is successful after patch with ```--enable-asan```. 
> 
> Thanks, 
> Sonia

Sonia Zaldana Calles has updated the pull request incrementally with one additional commit since the last revision:

  Reverting original proposal and implementing ZCACHE_ALIGNED proposal

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18825/files
  - new: https://git.openjdk.org/jdk/pull/18825/files/adbee692..a11e6ac3

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18825&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18825&range=01-02

  Stats: 8 lines in 2 files changed: 0 ins; 7 del; 1 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