A canadian cross of the compiler failed as it tried to link fix-header. It's using a mix of build and host object files to build this. The Makefile reads: # This is nominally a 'build' program, but it's run only when host==build, # so we can (indeed, must) use $(LIBDEPS) and $(LIBS). I, however, don't have host==build, and it still tries to do this. From what I can tell, there doesn't appear to be proper host==build checks in place. Simply setting use_fixproto in config.gcc is enough to try to build fix-header.
I've posted a patch. http://gcc.gnu.org/ml/gcc-patches/2005-05/msg00555.html
Subject: Bug 21403 CVSROOT: /cvs/gcc Module name: gcc Branch: gcc-4_0-branch Changes by: green@gcc.gnu.org 2005-05-07 22:28:10 Modified files: gcc : ChangeLog configure.ac configure Log message: 2005-05-07 Anthony Green <green@redhat.com> PR bootstrap/21403 * configure.ac (STMP_FIXPROTO): Fix [ ] consumption problem in x$STMP_FIXPROTO test. * configure: Rebuilt. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.226&r2=2.7592.2.227 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/configure.ac.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.94.8.2&r2=2.94.8.3 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/configure.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.885.6.2&r2=1.885.6.3
Subject: Bug 21403 CVSROOT: /cvs/gcc Module name: gcc Changes by: green@gcc.gnu.org 2005-05-07 22:32:04 Modified files: gcc : ChangeLog configure.ac configure Log message: 2005-05-07 Anthony Green <green@redhat.com> PR bootstrap/21403 * configure.ac (STMP_FIXPROTO): Fix [ ] consumption problem in x$STMP_FIXPROTO test. * configure: Rebuilt. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.8644&r2=2.8645 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/configure.ac.diff?cvsroot=gcc&r1=2.108&r2=2.109 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/configure.diff?cvsroot=gcc&r1=1.900&r2=1.901
Patch applied to HEAD and 4.0 branch.
Subject: Bug 21403 CVSROOT: /cvs/gcc Module name: gcc Branch: apple-local-200502-branch Changes by: geoffk@gcc.gnu.org 2005-06-16 20:18:24 Modified files: gcc : ChangeLog configure.ac configure Log message: PR bootstrap/21403 * configure.ac (STMP_FIXPROTO): Fix [ ] consumption problem in x$STMP_FIXPROTO test. * configure: Rebuilt. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=apple-local-200502-branch&r1=2.7489.2.11&r2=2.7489.2.12 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/configure.ac.diff?cvsroot=gcc&only_with_tag=apple-local-200502-branch&r1=2.94.4.2&r2=2.94.4.3 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/configure.diff?cvsroot=gcc&only_with_tag=apple-local-200502-branch&r1=1.885.4.2&r2=1.885.4.3