http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60984
--- Comment #13 from Torbjörn Gard <tgard at opentext dot com> --- I got the same error this time. I use bash but looking at config.log I see that /bin/sh is used. I have seen nothing regarding this in the target-specific installation instructions. I have restarted the build using CONFIG_SHELL=/usr/local/bin/bash. Maybe that will make a difference :-)