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

[arm32] Build broken since JDK-8344883

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • None
    • hotspot
    • arm
    • linux

      Since JDK-8344883 (Commit https://git.openjdk.org/jdk/commit/43b194741cc307a73bd8dd2da877ab1b16250fc1) building OpenJDK for arm32 fails with the following error:

      /workspace/src/hotspot/share/cds/metaspaceShared.cpp: In static member function 'static MapArchiveResult MetaspaceShared::map_archives(FileMapInfo*, FileMapInfo*, bool)':
      /workspace/src/hotspot/share/cds/metaspaceShared.cpp:1348:51: error: cannot convert 'bool' to 'MemTag'
       1348 | false, MemTag::mtClassShared);
            | ^~~~~
            | |
            | bool
      In file included from /workspace/src/hotspot/os_cpu/linux_arm/orderAccess_linux_arm.hpp:30,
                       from /workspace/src/hotspot/share/runtime/orderAccess.hpp:276,
                       from /workspace/src/hotspot/share/runtime/atomic.hpp:31,
                       from /workspace/src/hotspot/share/oops/oop.hpp:35,
                       from /workspace/src/hotspot/share/oops/weakHandle.hpp:28,
                       from /workspace/src/hotspot/share/classfile/classLoaderData.hpp:30,
                       from /workspace/src/hotspot/share/precompiled/precompiled.hpp:32:
      /workspace/src/hotspot/share/runtime/os.hpp:467:76: note: initializing argument 3 of 'static char* os::attempt_reserve_memory_at(char*, size_t, MemTag, bool)'
        467 | static char* attempt_reserve_memory_at(char* addr, size_t bytes, MemTag mem_tag, bool executable = false);
            | ~~~~~~~^~~~~~~

            Unassigned Unassigned
            marchof Marc Hoffmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: