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

Linking jdk.jpackage fails for linux aarch32 builds after 8254702

XMLWordPrintable

    • b09
    • aarch32
    • linux
    • Not verified

      Linking jdk.jpackage fails with undefined references:

      /home/cgo/dev/openjdk/jdk/build/linux-arm-server-fastdebug/support/native/jdk.jpackage/jpackageapplauncher/LinuxLauncher.o:(.ARM.exidx.text.startup+0x0): undefined reference to `__aeabi_unwind_cpp_pr0'
      /home/cgo/dev/openjdk/jdk/build/linux-arm-server-fastdebug/support/native/jdk.jpackage/jpackageapplauncher/JvmLauncherLib.o:(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr1'
      /home/cgo/dev/openjdk/jdk/build/linux-arm-server-fastdebug/support/native/jdk.jpackage/jpackageapplauncher/JvmLauncherLib.o:(.ARM.exidx+0x8): undefined reference to `__aeabi_unwind_cpp_pr0'
      /home/cgo/dev/openjdk/jdk/build/linux-arm-server-fastdebug/support/native/jdk.jpackage/jpackageapplauncher/LinuxPackage.o:(.ARM.exidx+0x0): undefined reference to `__aeabi_unwind_cpp_pr1'
      /home/cgo/dev/openjdk/jdk/build/linux-arm-server-fastdebug/support/native/jdk.jpackage/jpackageapplauncher/LinuxPackage.o:(.ARM.exidx+0x8): undefined reference to `__aeabi_unwind_cpp_pr0'
      collect2: error: ld returned 1 exit status

      $ arm-buildroot-linux-gnueabihf-gcc --version
      arm-buildroot-linux-gnueabihf-gcc.br_real (Buildroot 2019.02.11) 7.4.0
      Copyright (C) 2017 Free Software Foundation, Inc.
      This is free software; see the source for copying conditions. There is NO
      warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
      $ /opt/toolchains/gcc-7.4.0-glibc-2.28-133-2021.02-arm-buildroot-linux-gnueabihf/bin/arm-buildroot-linux-gnueabihf-gcc -dumpmachine
      arm-buildroot-linux-gnueabihf

            asemenyuk Alexey Semenyuk
            cgo Christoph Göttschkes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: