-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8320863: dsymutil command leaves around temporary directories #16843
Conversation
👋 Welcome back jpai! A progress list of the required criteria for merging this PR into |
@jaikiran 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:
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 12 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
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 to me.
You can find and erase these folders using |
Thank you Erik and Magnus for the reviews. |
/integrate |
Going to push as commit 86bb804.
Your commit was automatically rebased without conflicts. |
Can I please get a review of this change which proposes to workaround a bug in
dsymutil
tool on macos?As noted in https://bugs.openjdk.org/browse/JDK-8320863, the
dsymutil
tool shipped in Xcode 14.3.1 has a bug which causes it to create a temporary directories and leave them around, whenever that tool is used. JDK build uses that tool in the build process to generate debuginfo files on macos. When I run the JDK mainline build locally on my macos system, I see that everymake clean images
build ends up creating and leaving 72 newdsymutil-*
temporary directories.The bug in dsymutil has been acknowledged and fixed in llvm upstream project llvm/llvm-project#61920. Until that fix makes it into Xcode released versions, the JDK build would need a workaround. The commit in this PR proposes to pass
--reproducer Off
option to this command. Doing so prevents the tool from leaving around these temporary directories. As noted in the linked llvm project's issue, these temporary directories are used for generating any crash report reproducers so that they can then be submitted as bug reports. Using--reproducer Off
disables the reproducer generation llvm/llvm-project#61920 (comment):Not generating these reproducers should be OK for the JDK builds.
Before doing this change, I ran several
make clean images
build locally on my macos and verified that every single run generates these dsymutil temporary directories. After this proposed change, I reran the same command again several times and I have verified that these directories are no longer created.tier1,tier2, tier3 testing too has completed successfully with this change.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/16843/head:pull/16843
$ git checkout pull/16843
Update a local copy of the PR:
$ git checkout pull/16843
$ git pull https://git.openjdk.org/jdk.git pull/16843/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 16843
View PR using the GUI difftool:
$ git pr show -t 16843
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/16843.diff
Webrev
Link to Webrev Comment