RFR: 8374321: Fix undefined reference to 'png_init_filter_functions_lsx' after 8371914
Jayathirth D V
jdv at openjdk.org
Wed Dec 24 07:34:51 UTC 2025
On Wed, 24 Dec 2025 03:03:13 GMT, Wang Haomin <wanghaomin at openjdk.org> 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)
I am checking for our CI builds with this change. Once they are green will approve.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28974#issuecomment-3688941185
More information about the client-libs-dev
mailing list