[Bug bootstrap/33511] New: make fails with no rule to make target 'all' in directory gcc
I have installed gmp and mpfr and gnu binutils. I compiling with SUNWspro cc compiler. While making, I am getting this: make[3]: Entering directory `/usr/local/src/gcc-4.2.1-target/gcc' make[3]: *** No rule to make target `all'. Stop. make[3]: Leaving directory `/usr/local/src/gcc-4.2.1-target/gcc' make[2]: *** [all-stage1-gcc] Error 2 -- Summary: make fails with no rule to make target 'all' in directory gcc Product: gcc Version: 4.2.1 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: gmills at library dot berkeley dot edu GCC build triplet: sparc-sun-solaris2.8 GCC host triplet: sparc-sun-solaris2.8 GCC target triplet: sparc-sun-solaris2.8 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33511
[Bug bootstrap/33511] make fails with no rule to make target 'all' in directory gcc
--- Comment #2 from gmills at library dot berkeley dot edu 2007-09-20 20:31 --- ../gcc-4.2.1/configure --enable-languages=c,c++,objc,obj-c++ --with-gnu-as --with-gnu-ld Configuring without --with-gnu-as & --with-gnu-ld doesn't work either. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33511
[Bug bootstrap/33511] make fails with no rule to make target 'all' in directory gcc
--- Comment #4 from gmills at library dot berkeley dot edu 2007-09-21 20:34 --- With the following configure string /usr/local/src/gcc-4.2.1/configure --enable-languages=c,c++,objc,obj-c++ --with-gnu-as --with-gnu-ld I am getting this error. In file included from /usr/local/src/gcc-4.2.1-target/sparc-sun-solaris2.8/libstdc++-v3/include/ext/pb_ds/detail/standard_policies.hpp:51, from /usr/local/src/gcc-4.2.1-target/sparc-sun-solaris2.8/libstdc++-v3/include/ext/pb_ds/assoc_container.hpp:52, from /usr/local/src/gcc-4.2.1/libstdc++-v3/include/precompiled/extc++.h:59: /usr/local/src/gcc-4.2.1-target/sparc-sun-solaris2.8/libstdc++-v3/include/ext/pb_ds/hash_policy.hpp:293:81: error: ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp: No such file or directory In file included from /usr/local/src/gcc-4.2.1-target/sparc-sun-solaris2.8/libstdc++-v3/include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp:54, from /usr/local/src/gcc-4.2.1-target/sparc-sun-solaris2.8/libstdc++-v3/include/ext/pb_ds/detail/container_base_dispatch.hpp:61, from /usr/local/src/gcc-4.2.1-target/sparc-sun-solaris2.8/libstdc++-v3/include/ext/pb_ds/assoc_container.hpp:53, from /usr/local/src/gcc-4.2.1/libstdc++-v3/include/precompiled/extc++.h:59: /usr/local/src/gcc-4.2.1-target/sparc-sun-solaris2.8/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp:473:81: error: ext/pb_ds/detail/bin_search_tree_/constructors_destructor_fn_imps.hpp: No such file or directory make[4]: *** [sparc-sun-solaris2.8/bits/extc++.h.gch/O2g.gch] Error 1 make[4]: Leaving directory `/usr/local/src/gcc-4.2.1-target/sparc-sun-solaris2.8/libstdc++-v3/include' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/local/src/gcc-4.2.1-target/sparc-sun-solaris2.8/libstdc++-v3' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/local/src/gcc-4.2.1-target/sparc-sun-solaris2.8/libstdc++-v3' make[1]: *** [all-target-libstdc++-v3] Error 2 make[1]: Leaving directory `/usr/local/src/gcc-4.2.1-target' make: *** [all] Error 2 -- gmills at library dot berkeley dot edu changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33511
[Bug bootstrap/33511] make fails with no rule to make target 'all' in directory gcc
--- Comment #6 from gmills at library dot berkeley dot edu 2007-09-21 20:56 --- Subject: Re: make fails with no rule to make target 'all' in directory gcc No, I'm building in a target directory Garey Mills ebotcazou at gcc dot gnu dot org wrote: > --- Comment #5 from ebotcazou at gcc dot gnu dot org 2007-09-21 20:40 > --- > >> /usr/local/src/gcc-4.2.1/configure --enable-languages=c,c++,objc,obj-c++ >> --with-gnu-as --with-gnu-ld >> >> I am getting this error. >> > > Aren't you again building within the source tree? > > > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33511
[Bug bootstrap/33511] make fails with no rule to make target 'all' in directory gcc
--- Comment #9 from gmills at library dot berkeley dot edu 2007-09-21 21:48 --- Subject: Re: make fails with no rule to make target 'all' in directory gcc ksh ebotcazou at gcc dot gnu dot org wrote: > --- Comment #7 from ebotcazou at gcc dot gnu dot org 2007-09-21 21:19 > --- > >> No, I'm building in a target directory >> > > OK. Which config shell do you use? > > > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33511
[Bug bootstrap/33511] make fails with no rule to make target 'all' in directory gcc
--- Comment #10 from gmills at library dot berkeley dot edu 2007-09-21 21:49 --- Subject: Re: make fails with no rule to make target 'all' in directory gcc gnu tar. pinskia at gcc dot gnu dot org wrote: > --- Comment #8 from pinskia at gcc dot gnu dot org 2007-09-21 21:46 > --- > Also which tar did you untar the tar ball with? > GNU tar is required to support long file name lengths. > > > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33511
[Bug bootstrap/33511] make fails with no rule to make target 'all' in directory gcc
--- Comment #13 from gmills at library dot berkeley dot edu 2007-09-26 21:02 --- I just wanted to add that I finally got gcc to compile with c, c++, objc and objc++ front ends. The key apparently was to upgrade to the latest gnu tar. The previous version was 1.13 (as far as I can tell). Anyway, thank you for all the help. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33511