RFR: 8301129: Link to debuginfo files should only be made after stripping

Julian Waters jwaters at openjdk.org
Thu Jan 26 04:13:01 UTC 2023


Links to debuginfo files should only be made after strip is run, as doing so before can cause strip to wreck the embedded link and make the executable entirely un-executable in certain strange cases. It's safer to always just make the link after strip is called regardless

-------------

Commit messages:
 - Link to debuginfo files should only be made after stripping

Changes: https://git.openjdk.org/jdk/pull/12209/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12209&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8301129
  Stats: 6 lines in 1 file changed: 2 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/12209.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12209/head:pull/12209

PR: https://git.openjdk.org/jdk/pull/12209



More information about the build-dev mailing list