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

[aarch64] macroAssembler_aarch64.cpp compile fails ceil_log2 not declared

XMLWordPrintable

    • 24
    • b27
    • aarch64
    • linux

      * For target hotspot_variant-server_libjvm_objs_macroAssembler_aarch64.o:
      In file included from src/hotspot/share/nmt/memTag.hpp:28,
                       from src/hotspot/share/memory/allocation.hpp:29,
                       from src/hotspot/share/classfile/classLoaderData.hpp:28,
                       from src/hotspot/share/precompiled/precompiled.hpp:34:
      src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp: In member function ‘MacroAssembler::KlassDecodeMode MacroAssembler::klass_decode_mode()’:
      src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp:5308:46: error: ‘ceil_log2’ was not declared in this scope
       5308 | const uint64_t range_mask = right_n_bits(ceil_log2(range));
            | ^~~~~~~~~

            kbarrett Kim Barrett
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: