Source: wrk Version: 4.1.0-1 Severity: serious Tags: ftbfs patch https://buildd.debian.org/status/fetch.php?pkg=wrk&arch=armel&ver=4.1.0-1&stamp=1589619501&raw=0
... /usr/bin/ld: obj/stats.o: in function `stats_record': ./src/stats.c:24: undefined reference to `__atomic_fetch_add_8' /usr/bin/ld: ./src/stats.c:25: undefined reference to `__atomic_fetch_add_8' /usr/bin/ld: ./src/stats.c:29: undefined reference to `__atomic_compare_exchange_8' /usr/bin/ld: ./src/stats.c:34: undefined reference to `__atomic_compare_exchange_8' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:59: wrk] Error 1 Fix (also removes the double DEB_HOST_ARCH check): --- debian/rules.old 2020-05-16 11:04:35.005659248 +0000 +++ debian/rules 2020-05-16 11:07:09.908357074 +0000 @@ -3,7 +3,7 @@ include /usr/share/dpkg/architecture.mk include /usr/share/dpkg/pkg-info.mk -ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),mips mipsel powerpc)) +ifneq (,$(filter $(DEB_HOST_ARCH), armel mips mipsel powerpc)) LIBS += -latomic export LIBS endif