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

ARM32 build broken after 8231610

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: 14
    • Fix Version/s: 14
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b24
    • CPU:
      arm
    • OS:
      linux

      Description

      Compile error:

      src/hotspot/share/memory/filemap.cpp: In member function 'void FileMapRegion::init(int, char*, size_t, bool, bool, int)':
      src/hotspot/share/memory/filemap.cpp:1136:33: error: right shift count >= width of type [-Werror]
             assert(_mapping_offset >> 32 == 0, "must be 32-bit only");
                                       ^
      src/hotspot/share/utilities/debug.hpp:56:9: note: in definition of macro 'vmassert'
         if (!(p)) { \
               ^
      src/hotspot/share/memory/filemap.cpp:1136:7: note: in expansion of macro 'assert'
             assert(_mapping_offset >> 32 == 0, "must be 32-bit only");
             ^
      src/hotspot/share/memory/filemap.cpp: In member function 'u_char* FileMapInfo::decode_start_address(FileMapRegion*, bool)':
      src/hotspot/share/memory/filemap.cpp:1569:21: error: right shift count >= width of type [-Werror]
         assert((offset >> 32) == 0, "must be 32-bit only");
                           ^
      src/hotspot/share/utilities/debug.hpp:56:9: note: in definition of macro 'vmassert'
         if (!(p)) { \
               ^
      src/hotspot/share/memory/filemap.cpp:1569:3: note: in expansion of macro 'assert'
         assert((offset >> 32) == 0, "must be 32-bit only");
         ^

      GCC version:
      arm-linux-gnueabihf-g++ (Linaro GCC 4.9-2017.01) 4.9.4
      Copyright (C) 2015 Free Software Foundation, Inc.
      This is free software; see the source for copying conditions. There is NO
      warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cgo Christoph Göttschkes
              Reporter:
              cgo Christoph Göttschkes
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: