JDK-8248271 : linux-x86-zero build failure
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-06-24
  • Updated: 2020-11-19
  • Resolved: 2020-06-25
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 16
16 b04Fixed
Related Reports
Relates :  
Relates :  
Description
32 bit zero build gets this failure:

rc/hotspot/os/linux/os_linux.cpp:5321:3: error: 'workaround_expand_exec_shield_cs_limit' was not declared in this scope
[2020-06-24T01:08:37,486Z]  5321 |   workaround_expand_exec_shield_cs_limit();
[2020-06-24T01:08:37,487Z]       |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The way that os.hpp includes platforms, requires duplicating os_linux_x86.hpp declarations in os_linux_zero.hpp:

From os.hpp:
  // Platform dependent stuff
#ifndef _WINDOWS
# include "os_posix.hpp"
#endif
#include OS_CPU_HEADER(os)  <==== os_linux_zero.hpp
#include OS_HEADER(os)            <==== os_linux.hpp

The 32 bit build also fails because of JDK-8214854 but that's a different issue.
Comments
Changeset: 06cea107 Author: Coleen Phillimore <coleenp@openjdk.org> Date: 2020-06-25 08:01:17 +0000 URL: https://git.openjdk.java.net/amber/commit/06cea107
02-07-2020

Changeset: 06cea107 Author: Coleen Phillimore <coleenp@openjdk.org> Date: 2020-06-25 08:01:17 +0000 URL: https://git.openjdk.java.net/mobile/commit/06cea107
02-07-2020

URL: https://hg.openjdk.java.net/jdk/jdk/rev/24f3207730e5 User: coleenp Date: 2020-06-25 12:01:34 +0000
25-06-2020