This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Cannot build mainline gcc on x86 linux.
- From: neroden at twcny dot rr dot com (Nathanael Nerode)
- To: gcc at gcc dot gnu dot org, vyatcheslaw dot sysoltsev at intel dot com
- Date: Tue, 12 Aug 2003 02:20:19 -0400
- Subject: Re: Cannot build mainline gcc on x86 linux.
>Hi,
>I cannot build gcc mainline since 1st of August. My usual scheme is:
>cvs update
>configure
We *seriously* recommend building in a separate directory from the build
directory. *sigh*
>make
>make install DESTDIR=...
>make[3]: Leaving directory
>`/mnt/sdb3/users/vsysoltx/gcc/ia64-unknown-linux-gnu/libstdc++-v3'
>Making all in include
>make[3]: Entering directory
>`/mnt/sdb3/users/vsysoltx/gcc/ia64-unknown-linux-gnu/libstdc++-v3/include'
>make[3]: *** No rule to make target
>`/mnt/sdb3/users/vsysoltx/gcc/ia64-unknown-linux-gnu/libstdc++-v3/../gcc/gthr.h',
>needed by `ia64-unknown-linux-gnu/bits/gthr.h'. Stop.
>make[3]: Leaving directory
>`/mnt/sdb3/users/vsysoltx/gcc/ia64-unknown-linux-gnu/libstdc++-v3/include'
>make[2]: *** [all-recursive] Error 1
>make[2]: Leaving directory
>`/mnt/sdb3/users/vsysoltx/gcc/ia64-unknown-linux-gnu/libstdc++-v3'
>make[1]: *** [all] Error 2
>make[1]: Leaving directory
>`/mnt/sdb3/users/vsysoltx/gcc/ia64-unknown-linux-gnu/libstdc++-v3'
>make: *** [all-target-libstdc++-v3] Error 2
<snip>
>2003-08-01 Matt Kraai <kraai@alumni.cmu.edu>
>
> * Makefile.tpl (check, check-c++): Express dependencies using
> dependencies rather than commands.
> * Makefile.in: Regenerate.
This is not the problem, given that you don't even run 'make check'.
Look elsewhere.
Have you run 'make clean' recently? It's quite possible that there's
a sometimes-missing dependency (all: gthr.h) in the gcc subdir. Or that
something has gotten corrupted which we've already fixed, but it's still
living in your tree.
--
Nathanael Nerode <neroden at gcc.gnu.org>
http://home.twcny.rr.com/nerode/neroden/fdl.html