JDK-8234324 : ARM32 build broken after 8231610
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 14
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: arm
  • Submitted: 2019-11-18
  • Updated: 2019-11-26
  • Resolved: 2019-11-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 14
14 b24Fixed
Related Reports
Relates :  
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.
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/ac11b83e0f38 User: iklam Date: 2019-11-18 20:01:49 +0000
18-11-2019