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

Erik Joelsson erikj at openjdk.org
Mon Jun 16 09:06:29 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.

In a bug comment you said that adding `-fdebug-prefix-map` worked around most of them, but in the example you added the option using `--with-extra-cflags`. This option is supposed to be added automatically anyway, so you observing a difference when explicitly adding the flag leads me to believe there is some difference in options when you enable ccache.

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

PR Comment: https://git.openjdk.org/jdk/pull/25811#issuecomment-2975689358


More information about the build-dev mailing list