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

Build for arm-linux-gnueabihf fails with undefined reference 'read_polling_page'

    Details

    • Subcomponent:
    • Resolved In Build:
      b14
    • CPU:
      x86_64
    • OS:
      linux_ubuntu

      Description

      ADDITIONAL SYSTEM INFORMATION :
      Ubuntu 18.04.4 LTS
      openjdk 13.0.2

      A DESCRIPTION OF THE PROBLEM :
      Building openjdk from master branch fails with missing hotspot function references.
      Building from jdk-14+36 results in a successful build
      I have builds for 10,11,12,14 and all build successfully, just current master branch fails.
      Have updated my devkit to Fedora 21, which brings in a newer gcc, but error is still the same

      REGRESSION : Last worked in version 14

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Follow building.md instructions for 'arm-linux-gnueabihf' target.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      A successful build
      ACTUAL -
      === Output from failing command(s) repeated here ===
      * For target hotspot_variant-client_libjvm_gtest_objs_BUILD_GTEST_LIBJVM_link:
      /home/dell/Documents/MiscProjects/iw-openjdk/submodules/openjdk/build/linux-arm-normal-client-release/hotspot/variant-client/libjvm/objs/c1_LIRAssembler_arm.o:c1_LIRAssembler_arm.cpp:function LIR_Assembler::return_op(LIR_OprDesc*): error: undefined reference to 'MacroAssembler::read_polling_page(RegisterImpl*, relocInfo::relocType)'
      /home/dell/Documents/MiscProjects/iw-openjdk/submodules/openjdk/build/linux-arm-normal-client-release/hotspot/variant-client/libjvm/objs/c1_LIRAssembler_arm.o:c1_LIRAssembler_arm.cpp:function LIR_Assembler::safepoint_poll(LIR_OprDesc*, CodeEmitInfo*): error: undefined reference to 'MacroAssembler::read_polling_page(RegisterImpl*, relocInfo::relocType)'
      /home/dell/Documents/MiscProjects/iw-openjdk/submodules/openjdk/build/linux-arm-normal-client-release/hotspot/variant-client/libjvm/objs/sharedRuntime_arm.o:sharedRuntime_arm.cpp:function SharedRuntime::generate_native_wrapper(MacroAssembler*, methodHandle const&, int, BasicType*, VMRegPair*, BasicType, unsigned char*): error: undefined reference to 'MacroAssembler::safepoint_poll(RegisterImpl*, Label&)'
      /home/dell/Documents/MiscProjects/iw-openjdk/submodules/openjdk/build/linux-arm-normal-client-release/hotspot/variant-client/libjvm/objs/templateInterpreterGenerator_arm.o:templateInterpreterGenerator_arm.cpp:function TemplateInterpreterGenerator::generate_native_entry(bool): error: undefined reference to 'MacroAssembler::safepoint_poll(RegisterImpl*, Label&)'
      collect2: error: ld returned 1 exit status
      * For target hotspot_variant-client_libjvm_objs_BUILD_LIBJVM_link:
      /home/dell/Documents/MiscProjects/iw-openjdk/submodules/openjdk/build/linux-arm-normal-client-release/hotspot/variant-client/libjvm/objs/c1_LIRAssembler_arm.o:c1_LIRAssembler_arm.cpp:function LIR_Assembler::return_op(LIR_OprDesc*): error: undefined reference to 'MacroAssembler::read_polling_page(RegisterImpl*, relocInfo::relocType)'
      /home/dell/Documents/MiscProjects/iw-openjdk/submodules/openjdk/build/linux-arm-normal-client-release/hotspot/variant-client/libjvm/objs/c1_LIRAssembler_arm.o:c1_LIRAssembler_arm.cpp:function LIR_Assembler::safepoint_poll(LIR_OprDesc*, CodeEmitInfo*): error: undefined reference to 'MacroAssembler::read_polling_page(RegisterImpl*, relocInfo::relocType)'
      /home/dell/Documents/MiscProjects/iw-openjdk/submodules/openjdk/build/linux-arm-normal-client-release/hotspot/variant-client/libjvm/objs/sharedRuntime_arm.o:sharedRuntime_arm.cpp:function SharedRuntime::generate_native_wrapper(MacroAssembler*, methodHandle const&, int, BasicType*, VMRegPair*, BasicType, unsigned char*): error: undefined reference to 'MacroAssembler::safepoint_poll(RegisterImpl*, Label&)'
      /home/dell/Documents/MiscProjects/iw-openjdk/submodules/openjdk/build/linux-arm-normal-client-release/hotspot/variant-client/libjvm/objs/templateInterpreterGenerator_arm.o:templateInterpreterGenerator_arm.cpp:function TemplateInterpreterGenerator::generate_native_entry(bool): error: undefined reference to 'MacroAssembler::safepoint_poll(RegisterImpl*, Label&)'
      collect2: error: ld returned 1 exit status

      * All command lines available in /home/dell/Documents/MiscProjects/iw-openjdk/submodules/openjdk/build/linux-arm-normal-client-release/make-support/fail
      ure-logs.
      === End of repeated output ===

      FREQUENCY : always


        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bulasevich Boris Ulasevich
                Reporter:
                webbuggrp Webbug Group
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: