------- Comment #7 from rwild at gcc dot gnu dot org 2009-01-14 18:02 ------- Please go into the gcc directory in the build tree and confirm that ./config.status
reproduces the errors (ignore further errors). If yes, then please show the output of ./config.status -d wc confstat*/* If any of the sed scripts are longer than roughly 6KB, or have line lengths over 4000 bytes, then try /usr/xpg4/bin/sed (put /usr/xpg4/bin early in PATH). Or try GNU sed. Solaris' seds are rather limited, although the configure scripts should usually work around most known issues. The @gcc_config_arguments@ substitution line could be rather long in your case. If all sed programs show the same error, then please post the sed script that causes it (the 'config.status -d' left it behind in that temporary subdir). BTW, your build log shows that you are patching the GCC sources quite a bit: ... [DEBUG] Applying patch '/export/home/thomas/workspace/ct-ng/trunk/patches/gcc/4.3.2/130-cross-compile.patch' [DEBUG] ==> Executing: 'patch -g0 -F1 -p1 -f' [ALL ] patching file gcc/configure [ALL ] patching file gcc/configure.ac ... [DEBUG] Applying patch '/export/home/thomas/workspace/ct-ng/trunk/patches/gcc/4.3.2/250-sh-pr24836.patch' [DEBUG] ==> Executing: 'patch -g0 -F1 -p1 -f' [ALL ] patching file gcc/configure [ALL ] patching file gcc/configure.ac ... Please prove that none of the several dozen patches are relevant to this issue. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38805