On Wed, 16 Sep 2026 19:41:06 GMT, Daniel Hu <[email protected]> wrote:

> The compiler error from config.log:
> 
> ```
> configure:178801: checking if Arm SVE ACLE is supported
> configure:178827: /usr/bin/gcc -c   -Wall -march=armv8-a+sve -Werror  
> conftest.c >&5
> conftest.c: In function ‘main’:
> conftest.c:29:21: error: unused variable ‘r’ [-Werror=unused-variable]
>    29 |           svint32_t r = svdup_n_s32(1)
>       |                     ^
> conftest.c: In function ‘a’:
> conftest.c:23:28: error: control reaches end of non-void function 
> [-Werror=return-type]
>    23 |           svfloat64_t a() {}
>       |                            ^
> cc1: all warnings being treated as errors
> configure:178827: $? = 1
> ```
> 
> Alternatively, could fix the inline code to be compliant with stricter 
> cflags. I'm open to whichever implementation.

Thanks, that helps me fully understand what's happening as I can't easily test 
this myself. Given this I think removing `$CFLAGS_WARNINGS_ARE_ERRORS` is the 
right choice.

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

PR Comment: https://git.openjdk.org/jdk/pull/32896#issuecomment-5705358717

Reply via email to