3.15.0 (non-released version) inappropriately depends on >=gcc-4.1.0-specific atomic functions __sync_fetch_and_add and __sync_sub_and_fetch. In addition, debug.c (compiled regardless of USE flag) doesn't make an appropriate check for the availability of those features, resulting in compilation failures regardless of switching their use of in atomic.h. Both 3.14.1 (stable) and 3.17.0 (dev release with their interim fix) compile successfully on my x86 systems; I have not yet done any run-time testing.
Reassigning.
Bumped. But didn't have time to test on hardened yet (will do by the end of the week). Please re-open if it doesn't work for you.