RFR: 8330047: ASAN build error with gcc 13

Sonia Zaldana Calles szaldana at openjdk.org
Mon Jun 3 18:46:36 UTC 2024


On Mon, 3 Jun 2024 10:26:18 GMT, Thomas Stuefe <stuefe 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
>
> @SoniaZaldana Could you test @xmas92 's fix? I think that would be a reasonable fix.

Hi @tstuefe, I verified @xmas92's fix and have updated the patch to use their fix instead. Hopefully this can move things along.

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

PR Comment: https://git.openjdk.org/jdk/pull/18825#issuecomment-2145881382


More information about the hotspot-gc-dev mailing list