PPC64BE build failure after JDK-8293344

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 20
    • Affects Version/s: 20
    • Component/s: hotspot
    • b15

      The bug manifests on PPC64, since `section_by_name` is protected by `#if defined(PPC64) && !defined(ABI_ELFv2)`:

      ```
      * For target hotspot_variant-server_libjvm_objs_elfFile.o:
      /home/shade/trunks/jdk/src/hotspot/share/utilities/elfFile.cpp: In member function 'int ElfFile::section_by_name(const char*, Elf_Shdr&)':
      /home/shade/trunks/jdk/src/hotspot/share/utilities/elfFile.cpp:261:16: error: aggregate 'ResourceMark rm' has incomplete type and cannot be defined
        261 | ResourceMark rm;
            | ^~
      ```

            Assignee:
            Aleksey Shipilev
            Reporter:
            Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: