Building MongoDB on non-x86 architectures like ppc64 and s390x fails while configuring/building the Intel DFP library. The problem can be worked around by using these scons options:
--experimental-decimal-support=off --use-system-intel_decimal128
But it is not intuitive. Platform checks in SConscripts should disable the Intel library for non-x86 architectures.