This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc 3.0.1 fails to build


gcc 3.0.1, gnu/linux 2.2.14-5.0smp (red hat 6.2), make 3.79, after
configure --prefix=/usr/local/gnu --enable-languages=c,c++

make bootstrap fails because the path to gthr.h is incorrect.

make[4]: Entering directory `/usr/local/gnu/src/gcc-3.0.1/i686-pc-linux-gnu/libstdc++-v3/include'
echo `date` > stamp-i686-pc-linux-gnu
ln: ./basic_file.h: File exists
ln: ./basic_ios.h: File exists
ln: ./basic_ios.tcc: File exists
... Numerous more warnings from ln omitted, seems like another bug ...
sed -e '/^#/s/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*\)/_GLIBCPP_\1/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < /usr/local/gnu/src/gcc-3.0.1/i686-pc-linux-gnu/libstdc++-v3/../gcc/gthr.h > i686-pc-linux-gnu/bits/gthr.h
/bin/sh: /usr/local/gnu/src/gcc-3.0.1/i686-pc-linux-gnu/libstdc++-v3/../gcc/gthr.h: No such file or directory
make[4]: *** [i686-pc-linux-gnu/bits/gthr.h] Error 1

I worked around this by doing (cd i686-pc-linux-gnu; ln -s ../gcc) and
then make bootstrap again.

karl@gnu.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]