RFR: 8330047: ASAN build error with gcc 13

Thomas Stuefe stuefe at openjdk.org
Thu May 2 05:47:55 UTC 2024


On Wed, 17 Apr 2024 18:54:30 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.
> 
> Testing: 
> - [x] Reproduced build failure with gcc 13.2.0.
> - [x] Verified release build is successful after patch with ```--enable-asan```. 
> 
> Thanks, 
> Sonia

@SoniaZaldana @xmas92 Thanks, Axel, for the analysis. Either fix is fine for me, as long as ASAN builds. Having to switch compiler toolchains is a hassle, and dependencies like these can stack.

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

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


More information about the hotspot-gc-dev mailing list