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)

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

Commit messages:
 - 8374321: Fix undefined reference to 'png_init_filter_functions_lsx' after 
8371914

Changes: https://git.openjdk.org/jdk/pull/28974/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28974&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8374321
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/28974.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28974/head:pull/28974

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

Reply via email to