Uploaded image for project: 'Red Hat Service Interconnect (Skupper)'
  1. Red Hat Service Interconnect (Skupper)
  2. SKUPPER-2213

skupper-router container build failure on aarch64 using libunwind 1.8.1

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • 1.8.2
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      When I upgraded libunwind to v1.8.1 in the downstream build of skupper-router container, the container build fails with the following error -

       

      2024-09-09 14:28:10,004 - atomic_reactor.tasks.binary_container_build - INFO - /usr/bin/ld: /remote-source/libunwind/app/src/.libs/libunwind.so: undefined reference to `__aarch64_cas8_acq_rel'
      2024-09-09 14:28:10,004 - atomic_reactor.tasks.binary_container_build - INFO - /usr/bin/ld: /remote-source/libunwind/app/src/.libs/libunwind.so: undefined reference to `__aarch64_swp1_acq_rel'
      2024-09-09 14:28:10,004 - atomic_reactor.tasks.binary_container_build - INFO - /usr/bin/ld: /remote-source/libunwind/app/src/.libs/libunwind.so: undefined reference to `__aarch64_ldadd8_acq_rel'
      2024-09-09 14:28:10,004 - atomic_reactor.tasks.binary_container_build - INFO - /usr/bin/ld: /remote-source/libunwind/app/src/.libs/libunwind.so: undefined reference to `__aarch64_ldadd4_acq_rel'
      2024-09-09 14:28:10,004 - atomic_reactor.tasks.binary_container_build - INFO - collect2: error: ld returned 1 exit status
      2024-09-09 14:28:10,004 - atomic_reactor.tasks.binary_container_build - INFO - make[1]: *** [Makefile:1339: Gperf-simple] Error 1
      2024-09-09 14:28:10,004 - atomic_reactor.tasks.binary_container_build - INFO - make[1]: Leaving directory '/remote-source/libunwind/app/tests'
      2024-09-09 14:28:10,005 - atomic_reactor.tasks.binary_container_build - INFO - make: *** [Makefile:617: install-recursive] Error 1
      2024-09-09 14:28:10,005 - atomic_reactor.tasks.binary_container_build - INFO - 
      2024-09-09 14:28:10,005 - atomic_reactor.tasks.binary_container_build - ERROR - Error: building at STEP "RUN scripts/compile.sh": while running runtime: exit status 2 

       

      The upstream Containerfile already uses the upgraded version of libunwind. It does not seem to fail when the container is built on the Raspberry Pi 5.

              gmurthy@redhat.com Ganesh Murthy
              gmurthy@redhat.com Ganesh Murthy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: