i had the same error before, maybe this will help:

change optimize='-O2' to optimize='-O1' under config.sh or config.sh-arm-linux (which ever you are using), then run Configure -S, then make.

--amir...