building for PPC32 fails because of missing linking to libatomic
Describe the bug
Building for PPC32 fails, both with our vanilla gcc toolchain as well as on a Gentoo PPC system.
/opt/emlix/test/lib/gcc/powerpc-unknown-linux-gnu/9.2.0/../../../../powerpc-unknown-linux-gnu/bin/ld: /tmp/e2/build/dhcp/bind/bind-9.11.14/lib/isc/libisc.a(stats.o): in function `incrementcounter':
/tmp/e2/build/dhcp/bind/bind-9.11.14/lib/isc/stats.c:221: undefined reference to `__atomic_fetch_add_8'
Environment:
- ISC DHCP version: 4.4.2
- OS: Linux (Gentoo as well as custom cross-build environment)
Contacting you
I'll watch this issue.