'dump_histo' defined but not used on FIPS in bin/named/statschannel.c
When I attempt to run the util/pairwise-testing.sh
script on main
on EL 8 and 9 images with FIPS, it fails to build in bin/named/statschannel.c
:
Configuration: --enable-developer --enable-warn-error --disable-kqueue --disable-epoll --enable-devpoll --enable-geoip --with-maxminddb=yes --with-locktype=standard --disable-doh --disable-pthread-rwlock --enable-fips-mode --with-gssapi=auto --with-lmdb=yes --without-libxml2 --without-json-c --without-zlib --with-libsystemd=yes --enable-tcp-fastopen --without-readline --disable-chroot --disable-fixed-rrset --disable-dnstap --without-libidn2 --with-cmocka=yes --with-jemalloc=detect --enable-leak-detection --disable-singletrace --enable-querytrace --disable-auto-validation --disable-dnsrps --disable-full-report
../../../bin/named/statschannel.c:852:1: error: 'dump_histo' defined but not used [-Werror=unused-function]
852 | dump_histo(isc_histomulti_t *hm, isc_statsformat_t type, void *arg,
| ^~~~~~~~~~
Full build log: pairwise-output.10961.txt