This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/33511] make fails with no rule to make target 'all' in directory gcc
- From: "cboos at neuf dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Sep 2007 15:25:17 -0000
- Subject: [Bug bootstrap/33511] make fails with no rule to make target 'all' in directory gcc
- References: <bug-33511-403@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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