GHC's build-time ld-flag checks are problematic
If the linker that GHC was built against happened to recognize the
--reduce-memory-overhead flags, but the current system linker does not, GHC will indiscriminately pass those flags to the current linker when attempting to link anything, and the linking will fail due to an 'unrecognized option' error.
I have experienced this behavior when I upgraded to GHC 7.4.1 on debian. The GHC package in question was built against
bfd ld, which recognized those linker flags, but my system linker is
gold, which does not recognized those flags. Therefore, I could not build anything until i reverted to