public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/33511]  New: make fails with no rule to make target 'all' in directory gcc
@ 2007-09-20 20:20 gmills at library dot berkeley dot edu
  2007-09-20 20:22 ` [Bug bootstrap/33511] " pinskia at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: gmills at library dot berkeley dot edu @ 2007-09-20 20:20 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/33511] make fails with no rule to make target 'all' in directory gcc
  2007-09-20 20:20 [Bug bootstrap/33511] New: make fails with no rule to make target 'all' in directory gcc gmills at library dot berkeley dot edu
@ 2007-09-20 20:22 ` pinskia at gcc dot gnu dot org
  2007-09-20 20:32 ` gmills at library dot berkeley dot edu
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-09-20 20:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-09-20 20:21 -------
How did you run configure?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33511


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/33511] make fails with no rule to make target 'all' in directory gcc
  2007-09-20 20:20 [Bug bootstrap/33511] New: make fails with no rule to make target 'all' in directory gcc gmills at library dot berkeley dot edu
  2007-09-20 20:22 ` [Bug bootstrap/33511] " pinskia at gcc dot gnu dot org
@ 2007-09-20 20:32 ` gmills at library dot berkeley dot edu
  2007-09-21  6:25 ` ebotcazou at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: gmills at library dot berkeley dot edu @ 2007-09-20 20:32 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/33511] make fails with no rule to make target 'all' in directory gcc
  2007-09-20 20:20 [Bug bootstrap/33511] New: make fails with no rule to make target 'all' in directory gcc gmills at library dot berkeley dot edu
  2007-09-20 20:22 ` [Bug bootstrap/33511] " pinskia at gcc dot gnu dot org
  2007-09-20 20:32 ` gmills at library dot berkeley dot edu
@ 2007-09-21  6:25 ` ebotcazou at gcc dot gnu dot org
  2007-09-21 20:34 ` gmills at library dot berkeley dot edu
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-09-21  6:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ebotcazou at gcc dot gnu dot org  2007-09-21 06:24 -------
>  ../gcc-4.2.1/configure --enable-languages=c,c++,objc,obj-c++ --with-gnu-as
> --with-gnu-ld

Please follow the instructions at:
  http://gcc.gnu.org/install/specific.html#x-x-solaris2


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33511


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/33511] make fails with no rule to make target 'all' in directory gcc
  2007-09-20 20:20 [Bug bootstrap/33511] New: make fails with no rule to make target 'all' in directory gcc gmills at library dot berkeley dot edu
                   ` (2 preceding siblings ...)
  2007-09-21  6:25 ` ebotcazou at gcc dot gnu dot org
@ 2007-09-21 20:34 ` gmills at library dot berkeley dot edu
  2007-09-21 20:40 ` ebotcazou at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: gmills at library dot berkeley dot edu @ 2007-09-21 20:34 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/33511] make fails with no rule to make target 'all' in directory gcc
  2007-09-20 20:20 [Bug bootstrap/33511] New: make fails with no rule to make target 'all' in directory gcc gmills at library dot berkeley dot edu
                   ` (3 preceding siblings ...)
  2007-09-21 20:34 ` gmills at library dot berkeley dot edu
@ 2007-09-21 20:40 ` ebotcazou at gcc dot gnu dot org
  2007-09-21 20:56 ` gmills at library dot berkeley dot edu
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-09-21 20:40 UTC (permalink / raw)
  To: gcc-bugs



------- 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?


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33511


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/33511] make fails with no rule to make target 'all' in directory gcc
  2007-09-20 20:20 [Bug bootstrap/33511] New: make fails with no rule to make target 'all' in directory gcc gmills at library dot berkeley dot edu
                   ` (4 preceding siblings ...)
  2007-09-21 20:40 ` ebotcazou at gcc dot gnu dot org
@ 2007-09-21 20:56 ` gmills at library dot berkeley dot edu
  2007-09-21 21:19 ` ebotcazou at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: gmills at library dot berkeley dot edu @ 2007-09-21 20:56 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/33511] make fails with no rule to make target 'all' in directory gcc
  2007-09-20 20:20 [Bug bootstrap/33511] New: make fails with no rule to make target 'all' in directory gcc gmills at library dot berkeley dot edu
                   ` (5 preceding siblings ...)
  2007-09-21 20:56 ` gmills at library dot berkeley dot edu
@ 2007-09-21 21:19 ` ebotcazou at gcc dot gnu dot org
  2007-09-21 21:46 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-09-21 21:19 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/33511] make fails with no rule to make target 'all' in directory gcc
  2007-09-20 20:20 [Bug bootstrap/33511] New: make fails with no rule to make target 'all' in directory gcc gmills at library dot berkeley dot edu
                   ` (6 preceding siblings ...)
  2007-09-21 21:19 ` ebotcazou at gcc dot gnu dot org
@ 2007-09-21 21:46 ` pinskia at gcc dot gnu dot org
  2007-09-21 21:49 ` gmills at library dot berkeley dot edu
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-09-21 21:46 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/33511] make fails with no rule to make target 'all' in directory gcc
  2007-09-20 20:20 [Bug bootstrap/33511] New: make fails with no rule to make target 'all' in directory gcc gmills at library dot berkeley dot edu
                   ` (7 preceding siblings ...)
  2007-09-21 21:46 ` pinskia at gcc dot gnu dot org
@ 2007-09-21 21:49 ` gmills at library dot berkeley dot edu
  2007-09-21 21:49 ` gmills at library dot berkeley dot edu
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: gmills at library dot berkeley dot edu @ 2007-09-21 21:49 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/33511] make fails with no rule to make target 'all' in directory gcc
  2007-09-20 20:20 [Bug bootstrap/33511] New: make fails with no rule to make target 'all' in directory gcc gmills at library dot berkeley dot edu
                   ` (8 preceding siblings ...)
  2007-09-21 21:49 ` gmills at library dot berkeley dot edu
@ 2007-09-21 21:49 ` gmills at library dot berkeley dot edu
  2007-09-22  7:33 ` ebotcazou at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: gmills at library dot berkeley dot edu @ 2007-09-21 21:49 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/33511] make fails with no rule to make target 'all' in directory gcc
  2007-09-20 20:20 [Bug bootstrap/33511] New: make fails with no rule to make target 'all' in directory gcc gmills at library dot berkeley dot edu
                   ` (9 preceding siblings ...)
  2007-09-21 21:49 ` gmills at library dot berkeley dot edu
@ 2007-09-22  7:33 ` ebotcazou at gcc dot gnu dot org
  2007-09-25 15:25 ` cboos at neuf dot fr
  2007-09-26 21:03 ` gmills at library dot berkeley dot edu
  12 siblings, 0 replies; 14+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2007-09-22  7:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from ebotcazou at gcc dot gnu dot org  2007-09-22 07:33 -------
So are the files reported as missing really missing...?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33511


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/33511] make fails with no rule to make target 'all' in directory gcc
  2007-09-20 20:20 [Bug bootstrap/33511] New: make fails with no rule to make target 'all' in directory gcc gmills at library dot berkeley dot edu
                   ` (10 preceding siblings ...)
  2007-09-22  7:33 ` ebotcazou at gcc dot gnu dot org
@ 2007-09-25 15:25 ` cboos at neuf dot fr
  2007-09-26 21:03 ` gmills at library dot berkeley dot edu
  12 siblings, 0 replies; 14+ messages in thread
From: cboos at neuf dot fr @ 2007-09-25 15:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from cboos at neuf dot fr  2007-09-25 15:25 -------
(In reply to comment #11)
> So are the files reported as missing really missing...?
> 

I had the same issue on HP-UX and I can confirm this was an issue with tar and
long file names.

----

On Linux:
# tar --version
tar (GNU tar) 1.13.25 ...
# tar tvfj gcc-4.2.1.tar.bz2 | grep hash_load_check_resize_trigger_imp.h
-rw-rw-r-- mitchell/mitchell    8616 2006-11-08 12:57:52
gcc-4.2.1/libstdc++-v3/include/ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp

On HP-UX:
# tar --version
tar (GNU tar) 1.13
# tar tvf gcc-4.2.1.tar | grep hash_load_check_resize_trigger_imp.h
-rw-rw-r-- mitchell/mitchell    8616 2006-11-08 12:57
gcc-4.2.1/libstdc++-v3/include/ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_imp.hp

(note the missing "p" at the end)

----

What happens then is that in the build tree, the
hash_load_check_resize_trigger_imp.hpp file gets linked to itself:

root@bct_hp8:/packages/gcc/build-gcc421
# ls -l
./hppa64-hp-hpux11.11/libstdc++-v3/include/ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp
lrwxrwxrwx    1 root          114 Sep 25 16:19
./hppa64-hp-hpux11.11/libstdc++-v3/include/ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp
->
/packages/gcc/gcc-4.2.1/libstdc++-v3/include/ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp

There are two such files in the source tree:
# find -name \*.hp
./libstdc++-v3/include/ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_imp.hp
./libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/constructors_destructor_fn_imps.hp

The second one triggers the same kind of error than the first.

Changing the suffix of those two files to .hpp in the source tree fixed (that
part of) the build for me.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33511


^ permalink raw reply	[flat|nested] 14+ messages in thread

* [Bug bootstrap/33511] make fails with no rule to make target 'all' in directory gcc
  2007-09-20 20:20 [Bug bootstrap/33511] New: make fails with no rule to make target 'all' in directory gcc gmills at library dot berkeley dot edu
                   ` (11 preceding siblings ...)
  2007-09-25 15:25 ` cboos at neuf dot fr
@ 2007-09-26 21:03 ` gmills at library dot berkeley dot edu
  12 siblings, 0 replies; 14+ messages in thread
From: gmills at library dot berkeley dot edu @ 2007-09-26 21:03 UTC (permalink / raw)
  To: gcc-bugs



------- 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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2007-09-26 21:03 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-20 20:20 [Bug bootstrap/33511] New: make fails with no rule to make target 'all' in directory gcc gmills at library dot berkeley dot edu
2007-09-20 20:22 ` [Bug bootstrap/33511] " pinskia at gcc dot gnu dot org
2007-09-20 20:32 ` gmills at library dot berkeley dot edu
2007-09-21  6:25 ` ebotcazou at gcc dot gnu dot org
2007-09-21 20:34 ` gmills at library dot berkeley dot edu
2007-09-21 20:40 ` ebotcazou at gcc dot gnu dot org
2007-09-21 20:56 ` gmills at library dot berkeley dot edu
2007-09-21 21:19 ` ebotcazou at gcc dot gnu dot org
2007-09-21 21:46 ` pinskia at gcc dot gnu dot org
2007-09-21 21:49 ` gmills at library dot berkeley dot edu
2007-09-21 21:49 ` gmills at library dot berkeley dot edu
2007-09-22  7:33 ` ebotcazou at gcc dot gnu dot org
2007-09-25 15:25 ` cboos at neuf dot fr
2007-09-26 21:03 ` gmills at library dot berkeley dot edu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).