Skip to content

Conversation

@haominw
Copy link
Contributor

@haominw haominw commented Dec 24, 2025

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)

Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed (2 reviews required, with at least 2 Reviewers)

Issue

  • JDK-8374321: Fix undefined reference to 'png_init_filter_functions_lsx' after 8371914 (Bug - P4)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/28974/head:pull/28974
$ git checkout pull/28974

Update a local copy of the PR:
$ git checkout pull/28974
$ git pull https://git.openjdk.org/jdk.git pull/28974/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 28974

View PR using the GUI difftool:
$ git pr show -t 28974

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/28974.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Dec 24, 2025

👋 Welcome back wanghaomin! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented Dec 24, 2025

@haominw This change is no longer ready for integration - check the PR body for details.

@openjdk
Copy link

openjdk bot commented Dec 24, 2025

@haominw The following labels will be automatically applied to this pull request:

  • build
  • client

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing lists. If you would like to change these labels, use the /label pull request command.

@openjdk openjdk bot added the rfr Pull request is ready for review label Dec 24, 2025
@mlbridge
Copy link

mlbridge bot commented Dec 24, 2025

Webrevs

Copy link
Member

@DamonFool DamonFool left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable to me.

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Dec 24, 2025
@haominw
Copy link
Contributor Author

haominw commented Dec 24, 2025

/integrate

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label Dec 24, 2025
@openjdk
Copy link

openjdk bot commented Dec 24, 2025

@haominw
Your change (at version 2955304) is now ready to be sponsored by a Committer.

@haominw
Copy link
Contributor Author

haominw commented Dec 24, 2025

@DamonFool Thanks. Jiege, Could you sponsor it?

@mrserb
Copy link
Member

mrserb commented Dec 24, 2025

Please wait until GA completion.

@jayathirthrao
Copy link
Member

Please re-submit failing github actions.

@jayathirthrao
Copy link
Member

I am checking for our CI builds with this change. Once they are green will approve.

/reviewers 2 reviewer

@openjdk
Copy link

openjdk bot commented Dec 24, 2025

@jayathirthrao
The total number of required reviews for this PR (including the jcheck configuration and the last /reviewers command) is now set to 2 (with at least 2 Reviewers).

@openjdk openjdk bot removed sponsor Pull request is ready to be sponsored ready Pull request is ready to be integrated labels Dec 24, 2025
@mrserb
Copy link
Member

mrserb commented Dec 24, 2025

linux-x64 seems a common issue right now across all PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

4 participants