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

Thomas Stuefe stuefe at openjdk.org
Wed Jun 5 08:49:02 UTC 2024


On Mon, 3 Jun 2024 18:46:21 GMT, Sonia Zaldana Calles <szaldana at openjdk.org> wrote:

>> 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

Thanks @SoniaZaldana !

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

Marked as reviewed by stuefe (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/18825#pullrequestreview-2098440563


More information about the hotspot-gc-dev mailing list