LFS Version SVN-20060501 - GCC-4.0.3 - compilation fails

Dan Nicholson dbn.lists at gmail.com
Thu May 18 13:39:55 PDT 2006

On 5/18/06, Mag. Leonhard Landrock <1977-Hamlet at gmx.at> wrote:
> root:/# strings /sources/gcc-build/gcc/cppdefault.o
> /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include
> /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../include/c++/4.0.3
> /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../include/c++/4.0.3/i686-pc-linux-gnu
> /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../include/c++/4.0.3/backward
> /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include
> /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/../../../../i686-pc-linux-gnu/include
> /usr/local/include

This is definitely the problem.  /usr/include should be after
BINUTILS.  I don't know why it isn't.  Everything else looks normal.
I'm stumped.  I've looked over the source a few times, and I can't
figure out how this would happen.  If it thought you were building a
cross compiler, then /usr/local/include shouldn't be in there, either.

At this point, I would double check that all the simple stuff is
correct like the essential symlinks.

What kind of host are you building on?


More information about the lfs-support mailing list