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

Linux build failed after JDK-8242244

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b21
    • Verification:
      Verified

      Description

      $ make hotspot CONF=server-re
      Building target 'hotspot' in configuration 'linux-x86_64-server-release'
      Updating support/modules_libs/java.base/server/libjvm.so due to 1 file(s)
      /home/aoqi/work/jdk/src/hotspot/os/linux/os_linux.cpp: In static member function 'static void* os::dll_load(const char*, char*, int)':
      /home/aoqi/work/jdk/src/hotspot/os/linux/os_linux.cpp:1854:6: error: 'EM_486' was not declared in this scope
           {EM_486, EM_386, ELFCLASS32, ELFDATA2LSB, (char*)"IA 32"},
            ^~~~~~
      /home/aoqi/work/jdk/src/hotspot/os/linux/os_linux.cpp:1854:6: note: suggested alternative: 'EM_386'
           {EM_486, EM_386, ELFCLASS32, ELFDATA2LSB, (char*)"IA 32"},
            ^~~~~~
            EM_386
      gmake[3]: *** [lib/CompileJvm.gmk:182: /home/aoqi/work/jdk/build/linux-x86_64-server-release/hotspot/variant-server/libjvm/objs/os_linux.o] Error 1
      gmake[2]: *** [make/Main.gmk:252: hotspot-server-libs] Error 2

      ERROR: Build failed for target 'hotspot' in configuration 'linux-x86_64-server-release' (exit code 2)

      === Output from failing command(s) repeated here ===
      * For target hotspot_variant-server_libjvm_objs_os_linux.o:
      /home/aoqi/work/jdk/src/hotspot/os/linux/os_linux.cpp: In static member function 'static void* os::dll_load(const char*, char*, int)':
      /home/aoqi/work/jdk/src/hotspot/os/linux/os_linux.cpp:1854:6: error: 'EM_486' was not declared in this scope
           {EM_486, EM_386, ELFCLASS32, ELFDATA2LSB, (char*)"IA 32"},
            ^~~~~~
      /home/aoqi/work/jdk/src/hotspot/os/linux/os_linux.cpp:1854:6: note: suggested alternative: 'EM_386'
           {EM_486, EM_386, ELFCLASS32, ELFDATA2LSB, (char*)"IA 32"},
            ^~~~~~
            EM_386

      * All command lines available in /home/aoqi/work/jdk/build/linux-x86_64-server-release/make-support/failure-logs.
      === End of repeated output ===

      No indication of failed target found.
      Hint: Try searching the build log for '] Error'.
      Hint: See doc/building.html#troubleshooting for assistance.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              glaubitz John Paul Adrian Glaubitz
              Reporter:
              aoqi Qi Ao
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: