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

linux-x86-zero build failure

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • 16
    • hotspot
    • None
    • b04

      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.

            coleenp Coleen Phillimore
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: