Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8369205

AIX build break in forbiddenFunctions.hpp

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2 P2
    • None
    • 26
    • hotspot
    • None
    • b16
    • 26
    • ppc
    • aix

      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 by JDK-8367282.

            Unassigned Unassigned
            aleonard Andrew Leonard
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: