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

Fix for JDK-8213419 is broken on 32-bit

XMLWordPrintable

    • 12
    • b22
    • Verified

        The types int and intptr_t are the same for 32-bit so we fail here:

        jib > /scratch/opt/mach5/mesos/work_dir/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S1332/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/04d9a174-ce03-43b6-93a6-849d86569c65/runs/3885c68c-93b9-40fc-a119-0fef0231a1fe/workspace/open/src/hotspot/share/utilities/globalDefinitions.hpp:1067:12: error: redefinition of 'int log2_intptr(int)'
        jib > inline int log2_intptr(int x) {
        jib > ^~~~~~~~~~~
        jib > /scratch/opt/mach5/mesos/work_dir/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S1332/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/04d9a174-ce03-43b6-93a6-849d86569c65/runs/3885c68c-93b9-40fc-a119-0fef0231a1fe/workspace/open/src/hotspot/share/utilities/globalDefinitions.hpp:1063:12: note: 'int log2_intptr(intptr_t)' previously defined here
        jib > inline int log2_intptr(intptr_t x) {
        jib > ^~~~~~~~~~~
        jib > /scratch/opt/mach5/mesos/work_dir/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S1332/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/04d9a174-ce03-43b6-93a6-849d86569c65/runs/3885c68c-93b9-40fc-a119-0fef0231a1fe/workspace/open/src/hotspot/share/utilities/globalDefinitions.hpp: In function 'int log2_intptr(uint)':
        jib > /scratch/opt/mach5/mesos/work_dir/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S1332/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/04d9a174-ce03-43b6-93a6-849d86569c65/runs/3885c68c-93b9-40fc-a119-0fef0231a1fe/workspace/open/src/hotspot/share/utilities/globalDefinitions.hpp:1071:12: error: redefinition of 'int log2_intptr(uint)'
        jib > inline int log2_intptr(uint x) {
        jib > ^~~~~~~~~~~
        jib > /scratch/opt/mach5/mesos/work_dir/slaves/2dd962d0-8988-479b-a804-57ab764ada59-S1332/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/04d9a174-ce03-43b6-93a6-849d86569c65/runs/3885c68c-93b9-40fc-a119-0fef0231a1fe/workspace/open/src/hotspot/share/utilities/globalDefinitions.hpp:1037:12: note: 'int log2_intptr(uintptr_t)' previously defined here
        jib > inline int log2_intptr(uintptr_t x) {
        jib > ^~~~~~~~~~~

              roland Roland Westrelin
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: