One of the patches for i386-k*bsd-gnu support in gcc 4.0 was accidentaly reverted during one of the post-release branch merges.
A patch against current CVS that corrects the problem can be found at: http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02367.html -- Summary: [PATCH] Bootstrap fails on i386-k*bsd-gnu Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: robertmh at gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i386-k*bsd-gnu GCC host triplet: i386-k*bsd-gnu GCC target triplet: i386-k*bsd-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18117