-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b33
-
aix
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084379 | emb-9 | Volker Simonis | P4 | Resolved | Fixed | team |
JDK-8063831 | 8u45 | Volker Simonis | P4 | Resolved | Fixed | b01 |
JDK-8058111 | 8u40 | Volker Simonis | P4 | Resolved | Fixed | b06 |
JDK-8070101 | emb-8u47 | Volker Simonis | P4 | Resolved | Fixed | team |
JDK-8172634 | openjdk7u | Volker Simonis | P4 | Resolved | Fixed | master |
The upgrade to LittleCMS 2.6 ("8056122: Upgrade JDK to LittleCMS 2.6") breaks the AIX build.
The problem is that the new LittleCMS now includes "pthread.h" in "lcms2_internal.h". Unfortunalty on AIX, "pthread.h" in turn includes "sys/proc.h" which uncoditionally defines a preprocessor constant "SNONE".
In "cmscgats.c" this preprocessor constant "SNONE" collides with the enum value "SONAME" from the SYMBOL enumaration.
THe only solution I see is to rename "SNONE" in "cmscgats.c" (i.e. to "SVOID"). Fortunately "SNONE" is only used locally in the file "cmscgats.c", so renaming it won't have any impact on other files.
Once this bug is fixed I'll report the problem upstream to LittleCMS and try to get the fix in there.
The problem is that the new LittleCMS now includes "pthread.h" in "lcms2_internal.h". Unfortunalty on AIX, "pthread.h" in turn includes "sys/proc.h" which uncoditionally defines a preprocessor constant "SNONE".
In "cmscgats.c" this preprocessor constant "SNONE" collides with the enum value "SONAME" from the SYMBOL enumaration.
THe only solution I see is to rename "SNONE" in "cmscgats.c" (i.e. to "SVOID"). Fortunately "SNONE" is only used locally in the file "cmscgats.c", so renaming it won't have any impact on other files.
Once this bug is fixed I'll report the problem upstream to LittleCMS and try to get the fix in there.
- backported by
-
JDK-8058111 Upgrade to LittleCMS 2.6 breaks AIX build
- Resolved
-
JDK-8063831 Upgrade to LittleCMS 2.6 breaks AIX build
- Resolved
-
JDK-8070101 Upgrade to LittleCMS 2.6 breaks AIX build
- Resolved
-
JDK-8084379 Upgrade to LittleCMS 2.6 breaks AIX build
- Resolved
-
JDK-8172634 Upgrade to LittleCMS 2.6 breaks AIX build
- Resolved
- relates to
-
JDK-8056122 Upgrade JDK to use LittleCMS 2.6
- Resolved
(1 relates to)