JDK-8256618 : Zero: Linux x86_32 build still fails
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 8,11,15,16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-11-19
  • Updated: 2022-01-05
  • Resolved: 2020-11-24
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 11 JDK 15 JDK 16 Other
11.0.10Fixed 15.0.2Fixed 16 b26Fixed openjdk8u282Fixed
Related Reports
Relates :  
Description
There is no os::workaround_expand_exec_shield_cs_limit symbol available:

/home/buildbot/worker/build-jdkX-linux/build/src/hotspot/os/linux/os_linux.cpp:4545: undefined reference to `os::workaround_expand_exec_shield_cs_limit()'
collect2: error: ld returned 1 exit status

That symbol is defined in os_linux_x86.cpp, which is not available to Zero that builds os_linux_zero.cpp.
JDK-8248271 added the declaration to os_linux_zero.hpp, but that is not enough, because the definition is still missing.
Comments
Fix Request (8u) This fixes Zero x86_32 build. 8u variant (acked by Severin): https://mail.openjdk.java.net/pipermail/jdk8u-dev/2020-November/013072.html
25-11-2020

Fix Request (11u) This fixes Zero x86_32 build. Patch applies cleanly.
25-11-2020

Fix Request (15u) This fixes Zero x86_32 build. Patch applies cleanly.
25-11-2020

Changeset: 7b3d0958 Author: Aleksey Shipilev <shade@openjdk.org> Date: 2020-11-24 12:26:44 +0000 URL: https://github.com/openjdk/jdk/commit/7b3d0958
24-11-2020