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

Linux build failed after JDK-8242244

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 15
    • 15
    • hotspot
    • b21
    • Verified

      $ 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.

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

              Created:
              Updated:
              Resolved: