RFR: 8339355: Test build/AbsPathsInImage.java fails configure with --enable-ccache

Erik Joelsson erikj at openjdk.org
Mon Jun 16 07:00:30 UTC 2025


On Sat, 14 Jun 2025 03:51:28 GMT, SendaoYan <syan at openjdk.org> wrote:

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

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

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

Changes requested by erikj (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25811#pullrequestreview-2930845917


More information about the build-dev mailing list