-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P2
-
Affects Version/s: 26
-
Component/s: hotspot
AIX builds broken from jdk-26+16 onwards
11:11:38 /home/jenkins/workspace/build-scripts/jobs/jdk/jdk-aix-ppc64-temurin/workspace/build/src/src/hotspot/share/utilities/forbiddenFunctions.hpp:78:34: error: exception specification in declaration does not match previous declaration
11:11:38 FORBID_IMPORTED_C_FUNCTION(void* calloc(size_t nmemb, size_t size), noexcept, "use os::malloc and zero out manually");
11:11:38 ^
11:11:38 /usr/include/stdlib.h:754:16: note: expanded from macro 'calloc'
11:11:38 #define calloc vec_calloc
11:11:38 ^
11:11:38 /usr/include/stdlib.h:744:14: note: previous declaration is here
11:11:38 extern void *vec_calloc(size_t, size_t);
11:11:38 ^
11:11:39 2 errors generated.
Likely introduced byJDK-8367282.
11:11:38 /home/jenkins/workspace/build-scripts/jobs/jdk/jdk-aix-ppc64-temurin/workspace/build/src/src/hotspot/share/utilities/forbiddenFunctions.hpp:78:34: error: exception specification in declaration does not match previous declaration
11:11:38 FORBID_IMPORTED_C_FUNCTION(void* calloc(size_t nmemb, size_t size), noexcept, "use os::malloc and zero out manually");
11:11:38 ^
11:11:38 /usr/include/stdlib.h:754:16: note: expanded from macro 'calloc'
11:11:38 #define calloc vec_calloc
11:11:38 ^
11:11:38 /usr/include/stdlib.h:744:14: note: previous declaration is here
11:11:38 extern void *vec_calloc(size_t, size_t);
11:11:38 ^
11:11:39 2 errors generated.
Likely introduced by
- caused by
-
JDK-8367282 FORBID_C_FUNCTION needs exception spec consistent with library declaration
-
- Resolved
-
- relates to
-
JDK-8369486 Enforce of malloc as noexcept not compiling due to AIX stdlib bug
-
- Open
-