On Wed, 24 Dec 2025 03:03:13 GMT, Wang Haomin <[email protected]> wrote:

> A simple mistake caused `undefined reference to 
> 'png_init_filter_functions_lsx'`.
> The problem has been solved after the following modifications.
> 
> 
> diff --git a/make/modules/java.desktop/lib/ClientLibraries.gmk 
> b/make/modules/java.desktop/lib/ClientLibraries.gmk
> index f273065a6df..b76cb8dc4e3 100644
> --- a/make/modules/java.desktop/lib/ClientLibraries.gmk
> +++ b/make/modules/java.desktop/lib/ClientLibraries.gmk
> @@ -164,7 +164,7 @@ ifeq ($(ENABLE_HEADLESS_ONLY), false)
>  
>    ifeq ($(USE_EXTERNAL_LIBPNG), false)
>      LIBSPLASHSCREEN_HEADER_DIRS += libsplashscreen/libpng
> -    LIBSPLASHSCREEN_CFLAGS += -DPNG_NO_MMX_CODE -DPNG_ARM_NEON_OPT=0
> +    LIBSPLASHSCREEN_CFLAGS += -DPNG_NO_MMX_CODE -DPNG_ARM_NEON_OPT=0 \
>        -DPNG_ARM_NEON_IMPLEMENTATION=0 -DPNG_LOONGARCH_LSX_OPT=0
>  
>      ifeq ($(call isTargetOs, linux)+$(call isTargetCpuArch, ppc), true+true)

This pull request has now been integrated.

Changeset: 4a0f7e42
Author:    Wang Haomin <[email protected]>
Committer: Jayathirth D V <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/4a0f7e4294d2ccc2d2bf460bea87b342fe934d03
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8374321: Fix undefined reference to 'png_init_filter_functions_lsx' after 
8371914

Reviewed-by: jiefu, jdv

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

PR: https://git.openjdk.org/jdk/pull/28974

Reply via email to