RFR: 8323667: Library debug files contain non-reproducible full gcc include paths [v2]

Andrew Leonard aleonard at openjdk.org
Mon Jan 15 14:38:58 UTC 2024


> 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.

Andrew Leonard has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:

 - 8323667: Library debug files contain non-reproducible full gcc include paths
   
   Signed-off-by: Andrew Leonard <anleonar at redhat.com>
 - 8323667: Library debug files contain non-reproducible full gcc include paths
   
   Signed-off-by: Andrew Leonard <anleonar at redhat.com>
 - Merge branch 'master' of github.com:openjdk/jdk into gcc_debug_map
 - 8323667: Library debug files contain non-reproducible full gcc include paths
   
   Signed-off-by: Andrew Leonard <anleonar at redhat.com>

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17399/files
  - new: https://git.openjdk.org/jdk/pull/17399/files/7c8e81cc..587bdc41

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=17399&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17399&range=00-01

  Stats: 5960 lines in 105 files changed: 3733 ins; 1842 del; 385 mod
  Patch: https://git.openjdk.org/jdk/pull/17399.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17399/head:pull/17399

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


More information about the build-dev mailing list