RFR: 8308283: Build failure with gcc 13.1.0

Phil Race prr at openjdk.org
Wed May 17 18:52:53 UTC 2023


On Wed, 17 May 2023 12:26:22 GMT, xpbob <duke at openjdk.org> wrote:

> configure --enable-debug
> 
> error: infinite recursion detected [-Werror=infinite-recursion]
>   193 | void VMError::reattempt_test_hit_stack_limit(outputStream* st)
> 
> configure
> 
> java.desktop/share/native/libharfbuzz/graph/../hb-ot-layout-common.hh:1161:24: error: possibly dangling reference to a temporary [-Werror=dangling-reference]
>  1161 | const LangSys& l = this+_.second.offset;

This is a duplicate of https://bugs.openjdk.org/browse/JDK-8307210
Please check for existing reports before creating a new bug.
We already plan to fix this before we officially upgrade to 13.1, until then you just disable the warning.

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

PR Comment: https://git.openjdk.org/jdk/pull/14032#issuecomment-1551894669



More information about the build-dev mailing list