On Wed, 10 Dec 2025 08:26:11 GMT, Matthias Baesken <[email protected]> wrote:

>> Fei Yang reported this test error on a Debian GNU/Linux 13 (trixie) x86_64 
>> machine:
>> 
>> 
>> $ make test TEST="test/jdk/build/AbsPathsInImage.java"
>> 
>> STDERR:
>> java.lang.Exception: Test failed
>>         at AbsPathsInImage.main(AbsPathsInImage.java:132)
>>         at 
>> java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
>>         at java.base/java.lang.reflect.Method.invoke(Method.java:565)
>>         at 
>> com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
>>         at java.base/java.lang.Thread.run(Thread.java:1516)
>> 
>> 
>> The lto - built libsplashscreen.so was report to cause this.
>> To get rid of the unwanted paths in the shared lib  (or in debug info files) 
>> we should not only compile but also link with debug prefix settings.
>
> Matthias Baesken has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   remove uncommented and moved DEBUG_PREFIX_CFLAGS from Flags.gmk

make/autoconf/flags-cflags.m4 line 129:

> 127:   AC_SUBST(CFLAGS_DEBUG_SYMBOLS)
> 128:   AC_SUBST(ASFLAGS_DEBUG_SYMBOLS)
> 129:   AC_SUBST(DEBUG_PREFIX_CFLAGS)

There is no reason to export this variable to make now.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28676#discussion_r2606779512

Reply via email to