knot 3.0.2 fails to build on armel (EABI ARM)
Dear Knot upstream developers,
Building knot 3.0.X in Debian on armel fails with the following errors:
...
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -include ../src/config.h -DCONFIG_DIR='"/etc/knot"' -DSTORAGE_DIR='"/var/lib/knot"' -DRUN_DIR='"/run/knot"' -DMODULE_DIR='"/usr/lib/arm-linux-gnueabi/knot"' -DMODULE_INSTDIR='"/usr/lib/arm-linux-gnueabi/knot"' -fvisibility=hidden -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -DNDEBUG -Wall -Wshadow -Werror=format-security -Werror=implicit -Werror=attributes -Wstrict-prototypes -c -o libdnssec/la-crypto.lo `test -f 'libdnssec/crypto.c' || echo './'`libdnssec/crypto.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -include ../src/config.h -DCONFIG_DIR=\"/etc/knot\" -DSTORAGE_DIR=\"/var/lib/knot\" -DRUN_DIR=\"/run/knot\" -DMODULE_DIR=\"/usr/lib/arm-linux-gnueabi/knot\" -DMODULE_INSTDIR=\"/usr/lib/arm-linux-gnueabi/knot\" -fvisibility=hidden -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -DNDEBUG -Wall -Wshadow -Werror=format-security -Werror=implicit -Werror=attributes -Wstrict-prototypes -c libdnssec/binary.c -fPIC -DPIC -o libdnssec/.libs/la-binary.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -include ../src/config.h -DCONFIG_DIR=\"/etc/knot\" -DSTORAGE_DIR=\"/var/lib/knot\" -DRUN_DIR=\"/run/knot\" -DMODULE_DIR=\"/usr/lib/arm-linux-gnueabi/knot\" -DMODULE_INSTDIR=\"/usr/lib/arm-linux-gnueabi/knot\" -fvisibility=hidden -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -DNDEBUG -Wall -Wshadow -Werror=format-security -Werror=implicit -Werror=attributes -Wstrict-prototypes -c libdnssec/crypto.c -fPIC -DPIC -o libdnssec/.libs/la-crypto.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -include ../src/config.h -DCONFIG_DIR=\"/etc/knot\" -DSTORAGE_DIR=\"/var/lib/knot\" -DRUN_DIR=\"/run/knot\" -DMODULE_DIR=\"/usr/lib/arm-linux-gnueabi/knot\" -DMODULE_INSTDIR=\"/usr/lib/arm-linux-gnueabi/knot\" -fvisibility=hidden -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -DNDEBUG -Wall -Wshadow -Werror=format-security -Werror=implicit -Werror=attributes -Wstrict-prototypes -c libdnssec/binary.c -o libdnssec/la-binary.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -include ../src/config.h -DCONFIG_DIR=\"/etc/knot\" -DSTORAGE_DIR=\"/var/lib/knot\" -DRUN_DIR=\"/run/knot\" -DMODULE_DIR=\"/usr/lib/arm-linux-gnueabi/knot\" -DMODULE_INSTDIR=\"/usr/lib/arm-linux-gnueabi/knot\" -fvisibility=hidden -I/usr/include/p11-kit-1 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -DNDEBUG -Wall -Wshadow -Werror=format-security -Werror=implicit -Werror=attributes -Wstrict-prototypes -c libdnssec/crypto.c -o libdnssec/la-crypto.o >/dev/null 2>&1
/tmp/ccov3b6s.s: Assembler messages:
/tmp/ccov3b6s.s:368: Error: selected processor does not support `dmb ishst' in ARM mode
/tmp/ccov3b6s.s:792: Error: selected processor does not support `dmb ish' in ARM mode
/tmp/ccov3b6s.s:931: Error: selected processor does not support `dmb ish' in ARM mode
/tmp/ccov3b6s.s:1387: Error: selected processor does not support `dmb ishst' in ARM mode
/tmp/ccov3b6s.s:2477: Error: selected processor does not support `dmb ish' in ARM mode
/tmp/ccov3b6s.s:2752: Error: selected processor does not support `dmb ish' in ARM mode
/tmp/ccov3b6s.s:3058: Error: selected processor does not support `dmb ishst' in ARM mode
make[4]: *** [Makefile:4524: libknot/xdp/la-xdp.lo] Error 1
The full build log can be found at: https://buildd.debian.org/status/fetch.php?pkg=knot&arch=armel&ver=3.0.2-2&stamp=1607358558&raw=0
It used to work until <= 2.9.6.
Any idea how to solve this?
Thanks,
-- Santiago