On Wed, 16 Jul 2025 12:44:45 GMT, Matthias Baesken <mbaes...@openjdk.org> wrote:

> We have build errors on AIX , seems related to 
> [JDK-8354415](https://bugs.openjdk.org/browse/JDK-8354415) :
> 
> 
> === Output from failing command(s) repeated here ===
> * For target support_native_java.desktop_libawt_xawt_awt_GraphicsEnv.o:
> /priv/jenkins/client-home/workspace/openjdk-jdk-aix_ppc64-opt/jdk/src/java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c:1751:43:
>  error: unknown type name 'XRRModeInfo'
> 1751 | static jint refreshRateFromModeInfo(const XRRModeInfo *modeInfo) {
>       | ^
> /priv/jenkins/client-home/workspace/openjdk-jdk-aix_ppc64-opt/jdk/src/java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c:1758:31:
>  error: use of undeclared identifier 'RR_Interlace'
> 1758 | if (modeInfo->modeFlags & RR_Interlace) {
>       | ^
> /priv/jenkins/client-home/workspace/openjdk-jdk-aix_ppc64-opt/jdk/src/java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c:1762:31:
>  error: use of undeclared identifier 'RR_DoubleScan'
> 1762 | if (modeInfo->modeFlags & RR_DoubleScan) {
>       | ^
> /priv/jenkins/client-home/workspace/openjdk-jdk-aix_ppc64-opt/jdk/src/java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c:1769:43:
>  error: unknown type name 'XRRCrtcInfo'
> 1769 | static inline Bool isLandscapeOrientation(XRRCrtcInfo* info) {
>       | ^
> /priv/jenkins/client-home/workspace/openjdk-jdk-aix_ppc64-opt/jdk/src/java.desktop/unix/native/libawt_xawt/awt/awt_GraphicsEnv.c:1773:30:
>  error: use of undeclared identifier 'RR_Rotate_0'
> 1773 | return info->rotation == RR_Rotate_0 || info->rotation == 
> RR_Rotate_180;
>       | ^
>    ... (rest of output omitted)
> 
> 
> Seems we miss some checks for the NO_XRANDR macro.

This pull request has now been integrated.

Changeset: 18190519
Author:    Matthias Baesken <mbaes...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/18190519e73705281adf3f94d710d000e75b1729
Stats:     2 lines in 1 file changed: 1 ins; 0 del; 1 mod

8362390: AIX make fails in awt_GraphicsEnv.c

Reviewed-by: prr, serb, clanger

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

PR: https://git.openjdk.org/jdk/pull/26348

Reply via email to