-
Notifications
You must be signed in to change notification settings - Fork 7
8284907: Compact profiles build fails with GNU make 4 #2
Conversation
|
👋 Welcome back erikj! A progress list of the required criteria for merging this PR into |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
|
@erikj79 This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be: 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 1 new commit pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the ➡️ To integrate this PR with the above commit message to the |
|
/integrate |
The compact profiles jar creation logic relies on what seems to be undefined behavior in GNU make. Pattern rules are unreliable when the file names contain '$'. The specific construct used in CreateJars.gmk works with GNU make 3.81, but fails with version 4 or higher.
This was originally fixed in 8u60 in JDK-8067857. That change is quite big and not something we want to backport to 8u42. However, since then, GNU make 4 and higher have become quite common on Linux too, and not just in Cygwin where I believe this problem was first encountered. Because of this, I would like to extract just the fix for this, exactly as it was done in JDK-8067857. Here is the original change:
openjdk/jdk8u-dev@17421c8#diff-e580e7e55e76622c538ae8a1b55af984b3e12bba099e493582fff2925b9ae02aR314-R322
Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk8u-ri pull/2/head:pull/2$ git checkout pull/2Update a local copy of the PR:
$ git checkout pull/2$ git pull https://git.openjdk.java.net/jdk8u-ri pull/2/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2View PR using the GUI difftool:
$ git pr show -t 2Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk8u-ri/pull/2.diff