I don't know why it fails. As mentioned before, the only thing I can think of that explains the symptoms you've described is a hardware problem. It could also be a bug in the binutils version you are using, but the fact that removing memory from your computer fixed the problem makes this very unlikely.