------- 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: [EMAIL PROTECTED]:/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