On Wed, 24 Dec 2025 03:22:42 GMT, Jie Fu <[email protected]> wrote:

>> A simple mistake caused `undefined reference to 
>> 'png_init_filter_functions_lsx'`.
>> The problem has been solved after the following modifications.
>> 
>> 
>> diff --git a/make/modules/java.desktop/lib/ClientLibraries.gmk 
>> b/make/modules/java.desktop/lib/ClientLibraries.gmk
>> index f273065a6df..b76cb8dc4e3 100644
>> --- a/make/modules/java.desktop/lib/ClientLibraries.gmk
>> +++ b/make/modules/java.desktop/lib/ClientLibraries.gmk
>> @@ -164,7 +164,7 @@ ifeq ($(ENABLE_HEADLESS_ONLY), false)
>>  
>>    ifeq ($(USE_EXTERNAL_LIBPNG), false)
>>      LIBSPLASHSCREEN_HEADER_DIRS += libsplashscreen/libpng
>> -    LIBSPLASHSCREEN_CFLAGS += -DPNG_NO_MMX_CODE -DPNG_ARM_NEON_OPT=0
>> +    LIBSPLASHSCREEN_CFLAGS += -DPNG_NO_MMX_CODE -DPNG_ARM_NEON_OPT=0 \
>>        -DPNG_ARM_NEON_IMPLEMENTATION=0 -DPNG_LOONGARCH_LSX_OPT=0
>>  
>>      ifeq ($(call isTargetOs, linux)+$(call isTargetCpuArch, ppc), true+true)
>
> Looks reasonable to me.

@DamonFool Thanks. Jiege, Could you sponsor it?

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

PR Comment: https://git.openjdk.org/jdk/pull/28974#issuecomment-3688568599

Reply via email to