-
Bug
-
Resolution: Fixed
-
P4
-
11, 12, 13
-
b12
-
generic
-
linux_redhat_6.0
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8220680 | 12.0.2 | Severin Gehwolf | P4 | Resolved | Fixed | b01 |
JDK-8220655 | 11.0.4 | Severin Gehwolf | P4 | Resolved | Fixed | b01 |
JDK-8220452 | 11.0.3 | Severin Gehwolf | P4 | Resolved | Fixed | b03 |
When trying to build jdk/jdk with GCC 4.4.7, the base compiler on CentOS 6/RHEL 6, compilation fails with:
In file included from /home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMark.hpp:27,
from /home/openjdk/openjdk-head/src/hotspot/share/gc/z/zLiveMap.inline.hpp:29,
from /home/openjdk/openjdk-head/test/hotspot/gtest/gc/z/test_zLiveMap.cpp:25:
/home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMarkStack.hpp:76: error: expected ‘)’ before ‘+’ token
/home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMarkStack.hpp:76: error: requested alignment is not a constant
/home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMarkStack.hpp:77: error: expected ‘)’ before ‘+’ token
/home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMarkStack.hpp:77: error: requested alignment is not a constant
In file included from /home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMark.hpp:28,
from /home/openjdk/openjdk-head/src/hotspot/share/gc/z/zLiveMap.inline.hpp:29,
from /home/openjdk/openjdk-head/test/hotspot/gtest/gc/z/test_zLiveMap.cpp:25:
/home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMarkStackAllocator.hpp:53: error: expected ‘)’ before ‘+’ token
/home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMarkStackAllocator.hpp:53: error: requested alignment is not a constant
/home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMarkStackAllocator.hpp:54: error: expected ‘)’ before ‘+’ token
/home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMarkStackAllocator.hpp:54: error: requested alignment is not a constant
In file included from /home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMark.hpp:29,
from /home/openjdk/openjdk-head/src/hotspot/share/gc/z/zLiveMap.inline.hpp:29,
from /home/openjdk/openjdk-head/test/hotspot/gtest/gc/z/test_zLiveMap.cpp:25:
/home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMarkTerminate.hpp:34: error: expected ‘)’ before ‘+’ token
/home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMarkTerminate.hpp:34: error: requested alignment is not a constant
That is due to ATTRIBUTE_ALIGNED being defined as:
#define ATTRIBUTE_ALIGNED(x) __attribute__((aligned(x+0)))
In file included from /home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMark.hpp:27,
from /home/openjdk/openjdk-head/src/hotspot/share/gc/z/zLiveMap.inline.hpp:29,
from /home/openjdk/openjdk-head/test/hotspot/gtest/gc/z/test_zLiveMap.cpp:25:
/home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMarkStack.hpp:76: error: expected ‘)’ before ‘+’ token
/home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMarkStack.hpp:76: error: requested alignment is not a constant
/home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMarkStack.hpp:77: error: expected ‘)’ before ‘+’ token
/home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMarkStack.hpp:77: error: requested alignment is not a constant
In file included from /home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMark.hpp:28,
from /home/openjdk/openjdk-head/src/hotspot/share/gc/z/zLiveMap.inline.hpp:29,
from /home/openjdk/openjdk-head/test/hotspot/gtest/gc/z/test_zLiveMap.cpp:25:
/home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMarkStackAllocator.hpp:53: error: expected ‘)’ before ‘+’ token
/home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMarkStackAllocator.hpp:53: error: requested alignment is not a constant
/home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMarkStackAllocator.hpp:54: error: expected ‘)’ before ‘+’ token
/home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMarkStackAllocator.hpp:54: error: requested alignment is not a constant
In file included from /home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMark.hpp:29,
from /home/openjdk/openjdk-head/src/hotspot/share/gc/z/zLiveMap.inline.hpp:29,
from /home/openjdk/openjdk-head/test/hotspot/gtest/gc/z/test_zLiveMap.cpp:25:
/home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMarkTerminate.hpp:34: error: expected ‘)’ before ‘+’ token
/home/openjdk/openjdk-head/src/hotspot/share/gc/z/zMarkTerminate.hpp:34: error: requested alignment is not a constant
That is due to ATTRIBUTE_ALIGNED being defined as:
#define ATTRIBUTE_ALIGNED(x) __attribute__((aligned(x+0)))
- backported by
-
JDK-8220452 ZGC fails to build on GCC 4.4.7: ATTRIBUTE_ALIGNED compatibility issue
- Resolved
-
JDK-8220655 ZGC fails to build on GCC 4.4.7: ATTRIBUTE_ALIGNED compatibility issue
- Resolved
-
JDK-8220680 ZGC fails to build on GCC 4.4.7: ATTRIBUTE_ALIGNED compatibility issue
- Resolved
- relates to
-
JDK-8220294 ZGC fails to build on GCC 4.4.7: Type parameter issue
- Resolved