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.