[OpenJDK 2D-Dev] jdk-hs ppc64le build error, probably related to libpng update

Gustavo Romero gromero at linux.vnet.ibm.com
Fri Dec 22 13:52:36 UTC 2017


Hi Matthias,

png_init_filter_functions_vsx() is implemented in:

https://sourceforge.net/p/libpng/code/ci/libpng16/tree/powerpc/powerpc_init.c#l53

Looks like the two files found in:

https://sourceforge.net/p/libpng/code/ci/libpng16/tree/powerpc/

are not merged. If you include them, for instance:

http://cr.openjdk.java.net/~gromero/misc/libpnp_powerpc_missingfiles.diff

the issue is resolved (on PPC64 at least - probably we have to adapt the build
for not breaking it on other archs?. Also I'm not sure if the optimized code
will kick in just by including the missing files).

However I could not find the Intel intrinsics [1] as well imported to OpenJDK
tree. Is that intentional? I mean, shouldn't we enable optimization when it's
available?


Best regards,
Gustavo

[1] https://sourceforge.net/p/libpng/code/ci/libpng16/tree/intel/



More information about the 2d-dev mailing list