http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48402
--- Comment #3 from Stuart Ambler <sambler at nd dot edu> 2011-09-29 05:02:34 UTC --- Verified fix as follows. After fresh de-tar of gcc-core, g++, objc, testsuite-4.6.1.tar.g, edit gcc-4.6.1/fixincludes/inclhack.def according to Cheng Sheng's comment, also edit same directory genfixes to make its autogen version check work: $ diff genfixes.orig genfixes '65c65 < if [ -z "`${AG} -v | fgrep 'Ver. 5.'`" ] --- > if [ -z "`${AG} -v | fgrep '(GNU AutoGen) 5.'`" ] run ./genfixes, cd to separate build directory, configure, make, sudo make install, sudo make check - all worked correctly (except that make check reported one unexpected failure, FAIL: gcc.dg/ipa/pr48195.c (test for excess errors), which I have no reason to think is related to this bug).