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

arm32 Raspberry Pi OS build broken by JDK-8301494

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1
    • 21
    • None
    • hotspot
    • None
    • b11
    • arm
    • Not verified

    Description

      Failure to build on "Raspbian GNU/Linux 11 (bullseye)"

      configure: Using gcc C compiler version 10.2.1 [gcc (Raspbian 10.2.1-6+rpi1) 10.2.1 20210110]

      ...

      === Output from failing command(s) repeated here ===
      * For target hotspot_variant-server_libjvm_objs_interpreterRT_arm.o:
      /home/martin/ws/jdk/src/hotspot/cpu/arm/interpreterRT_arm.cpp: In member function 'virtual void SlowSignatureHandler::pass_object()':
      /home/martin/ws/jdk/src/hotspot/cpu/arm/interpreterRT_arm.cpp:309:56: error: operands to '?:' have different types 'std::nullptr_t' and 'intptr_t' {aka 'int'}
        309 | _toGP[_last_gp++] = (*(intptr_t*)from_addr == 0) ? nullptr : from_addr;
            | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
      /home/martin/ws/jdk/src/hotspot/cpu/arm/interpreterRT_arm.cpp:311:45: error: operands to '?:' have different types 'std::nullptr_t' and 'intptr_t' {aka 'int'}
        311 | *_to++ = (*(intptr_t*)from_addr == 0) ? nullptr : from_addr;
            | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~

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

      Attachments

        Issue Links

          Activity

            People

              dholmes David Holmes
              martin Martin Buchholz
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: