-
Notifications
You must be signed in to change notification settings - Fork 6.1k
8323667: Library debug files contain non-reproducible full gcc include paths #17399
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
Conversation
…e paths Signed-off-by: Andrew Leonard <anleonar@redhat.com>
👋 Welcome back aleonard! A progress list of the required criteria for merging this PR into |
@andrew-m-leonard 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. |
Webrevs
|
…e paths Signed-off-by: Andrew Leonard <anleonar@redhat.com>
…e paths Signed-off-by: Andrew Leonard <anleonar@redhat.com>
I have tested this change successfully at Eclipse Adoptium across all the various Linux gcc platforms: x64Linux, ppc64leLinux, aarch64Linux, alpineAarch64Linux, s390xLinux |
@erikj79 when you get a moment, can you re-review please? thanks |
Have you checked with |
…e paths Signed-off-by: Andrew Leonard <anleonar@redhat.com>
…e paths Signed-off-by: Andrew Leonard <anleonar@redhat.com>
I have been doing some separate machine/location builds with DevKits located in different paths and build workspace in different location, and they are now "identical" with this change. |
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.
I think this looks ok but could you split the longer lines to make side by side comparisons easier in the future?
So |
…e paths Signed-off-by: Andrew Leonard <anleonar@redhat.com>
Yep, done, thanks Erik |
@magicus |
Magnus specifically meant |
Ah, I thought CFLAGS was only set in the gmk files...? i'll give it a try thanks. |
…e paths Signed-off-by: Andrew Leonard <anleonar@redhat.com>
Thanks @erikj79 yep, that works great, thank you for pointing that out. |
No, we specifically only set the variable |
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.
This looks good to me now.
@andrew-m-leonard 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 59 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 now.
Thanks Erik for helping me clarify what I meant.
/integrate |
Going to push as commit 57fad67.
Your commit was automatically rebased without conflicts. |
@andrew-m-leonard Pushed as commit 57fad67. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
For gcc toolchains in ALLOW_ABSOLUTE_PATHS_IN_OUTPUT=False builds, this PR finds the location of the gcc system include paths, and adds -fdebug-prefix-map flags to map them to a standard location. Thus making the debuginfo and resulting libraries reproducible when using DevKits in different path locations.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/17399/head:pull/17399
$ git checkout pull/17399
Update a local copy of the PR:
$ git checkout pull/17399
$ git pull https://git.openjdk.org/jdk.git pull/17399/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 17399
View PR using the GUI difftool:
$ git pr show -t 17399
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/17399.diff
Webrev
Link to Webrev Comment