Skip to content

8374321: Fix undefined reference to 'png_init_filter_functions_lsx' after 8371914#28974

Closed
haominw wants to merge 1 commit intoopenjdk:masterfrom
haominw:8374321
Closed

8374321: Fix undefined reference to 'png_init_filter_functions_lsx' after 8371914#28974
haominw wants to merge 1 commit intoopenjdk:masterfrom
haominw:8374321

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 now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

8374321: Fix undefined reference to 'png_init_filter_functions_lsx' after 8371914

Reviewed-by: jiefu, jdv

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been no new commits pushed to the master branch. If another commit should be pushed before you perform the /integrate command, your PR will be automatically rebased. If you prefer to avoid any potential automatic rebasing, please check the documentation for the /integrate command for further details.

As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@DamonFool, @jayathirthrao) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@openjdk openjdk bot added build build-dev@openjdk.org client client-libs-dev@openjdk.org labels Dec 24, 2025
@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.

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

/sponsor

@openjdk
Copy link

openjdk bot commented Dec 24, 2025

Going to push as commit 4a0f7e4.

@openjdk openjdk bot added the integrated Pull request has been integrated label Dec 24, 2025
@openjdk openjdk bot closed this Dec 24, 2025
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Dec 24, 2025
@openjdk openjdk bot removed the sponsor Pull request is ready to be sponsored label Dec 24, 2025
@openjdk
Copy link

openjdk bot commented Dec 24, 2025

@jayathirthrao @haominw Pushed as commit 4a0f7e4.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

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

Labels

build build-dev@openjdk.org client client-libs-dev@openjdk.org integrated Pull request has been integrated

Development

Successfully merging this pull request may close these issues.

4 participants