-
Notifications
You must be signed in to change notification settings - Fork 6k
8339355: Test build/AbsPathsInImage.java fails configure with --enable-ccache #25811
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
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome back syan! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
@sendaoYan The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
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.
We do expect the debuginfo files to be reproducible and hence free of absolute paths. This was implemented in https://bugs.openjdk.org/browse/JDK-8284437, where -fdebug-prefix-map
was one of the mitigations applied. I would start my investigation with trying to understand why that option isn't working, or being applied, when you build with --enable-ccache
.
Thanks @erikj79 I can not find the root cause how does the debuginfo files contains the absolute paths. Take java.debuginfo example, this file generate by > dwarfdump build/ccache/support/modules_cmds/java.base/java | grep DW_AT_comp_dir
DW_AT_comp_dir /hygonjdk/yansendao/git/jdk
DW_AT_comp_dir /hygonjdk/yansendao/git/jdk The file |
In a bug comment you said that adding |
Hi all,
The debuginfo file will not ship to customers generally, so I think it's not necessary to check the debuginfo files contains absolutive path or not. And I can't find why the debuginfo file always contains workspace path info with --enable-ccache configure option.
Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/25811/head:pull/25811
$ git checkout pull/25811
Update a local copy of the PR:
$ git checkout pull/25811
$ git pull https://git.openjdk.org/jdk.git pull/25811/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 25811
View PR using the GUI difftool:
$ git pr show -t 25811
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/25811.diff
Using Webrev
Link to Webrev Comment