RFR: 8330047: ASAN build error with gcc 13

Thomas Stuefe stuefe at openjdk.org
Tue Jun 4 05:21:04 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.

ASAN builds with gcc13 with this patch, I assume?

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

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


More information about the hotspot-gc-dev mailing list