This is the mail archive of the gcc@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]

Re: Problems bootstrapping on powerpc-unknown-linux-gnu


David Wheeler <David@Wheeler.net> writes:

> Hi All,
>
> During a make bootstrap on Yellow Dog Linux 2.0 (running the 2.4.8
> kernel), I got the following errors (I'm not sure of the context here -
> the make had been running for a very long time):
>
> ln: ./hash_map: File exists
> ln: ./hash_set: File exists
> ln: ./stl_hashtable.h: File exists
> ln: ./stl_hash_fun.h: File exists
> sed -e
> '/^#/s/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*\)/_GLIBCPP_\1
> /g' \
>     -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
>     <
> /usr/local/src/gcc-3.0.1/powerpc-unknown-linux-gnu/libstdc++-v3/../gcc/gthr.h
> > pow
> erpc-unknown-linux-gnu/bits/gthr.h
> /bin/sh:
> /usr/local/src/gcc-3.0.1/powerpc-unknown-linux-gnu/libstdc++-v3/../gcc/gthr.h:
> N
> o such file or directory
> make[4]: *** [powerpc-unknown-linux-gnu/bits/gthr.h] Error 1
> make[4]: Leaving directory
> `/usr/local/src/gcc-3.0.1/powerpc-unknown-linux-gnu/libstdc++-
> v3/include'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/usr/local/src/gcc-3.0.1/powerpc-unknown-linux-gnu/libstdc++-
> v3'
> make[2]: *** [all-recursive-am] Error 2
> make[2]: Leaving directory
> `/usr/local/src/gcc-3.0.1/powerpc-unknown-linux-gnu/libstdc++-
> v3'
> make[1]: *** [all-target-libstdc++-v3] Error 2
> make[1]: Leaving directory `/usr/local/src/gcc-3.0.1'
> make: *** [bootstrap] Error 2
> [root@mercury gcc-3.0.1]#
>
> It looks to me like there's an issue with the path somewhere, but I don't
> even know where to *start* looking for problem. I would appreciate any
> help.

Use a separate build directory and do not build in the source
directory.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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