Two corrupted libstdc++-v3 files in gcc-4.4.2.tar.gz (invalid file extension)

Nicolai Josuttis nico@josuttis.de
Sun Nov 29 14:07:00 GMT 2009


Hi everybody,

I am currently starting to work on a new edition of my
C++ Library book and from what I see, you already have
good support of a couple of new feature. Great!
So, I start to try g++ 4.4.2 out now...

However, both
  gcc-g++-4.4.2.tar.gz
as well as
  gcc-4.4.2.tar.gz
downloaded from multiple files
(I tried ftp.gnu.org and ftp.fu-berlin.de)
contain two files with the wrong file type:
In
  libstdc++-v3\include\ext\pb_ds\detail\bin_search_tree_
there is:
  constructors_destructor_fn_imps.hpp0000664
and there is also
  hash_load_check_resize_trigger_imp.hpp0000664
somewhere else.

It seems that these file must have the file type
  hpp
instead. Otherwise a build results in the following
messages during compilation:

First:
======

In file included from 
/cygdrive/p/gcc/gcc4/i686-pc-cygwin/libstdc++-v3/include/ext/pb_ds/detail/standard_policies.hpp:45,
                  from 
/cygdrive/p/gcc/gcc4/i686-pc-cygwin/libstdc++-v3/include/ext/pb_ds/assoc_container.hpp:46,
                  from 
/cygdrive/p/gcc/gcc-src/gcc-4.4.2/libstdc++-v3/include/precompiled/extc++.h:58:
/cygdrive/p/gcc/gcc4/i686-pc-cygwin/libstdc++-v3/include/ext/pb_ds/hash_policy.hpp:287:81: 
error: 
ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp: 
No such file or directory
In file included from 
/cygdrive/p/gcc/gcc4/i686-pc-cygwin/libstdc++-v3/include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp:48,
                  from 
/cygdrive/p/gcc/gcc4/i686-pc-cygwin/libstdc++-v3/include/ext/pb_ds/detail/container_base_dispatch.hpp:55,
                  from 
/cygdrive/p/gcc/gcc4/i686-pc-cygwin/libstdc++-v3/include/ext/pb_ds/assoc_container.hpp:47,
                  from 
/cygdrive/p/gcc/gcc-src/gcc-4.4.2/libstdc++-v3/include/precompiled/extc++.h:58:
/cygdrive/p/gcc/gcc4/i686-pc-cygwin/libstdc++-v3/include/ext/pb_ds/detail/bin_search_tree_/bin_search_tree_.hpp:467:81: 
error: 
ext/pb_ds/detail/bin_search_tree_/constructors_destructor_fn_imps.hpp: No
  such file or directory
make[4]: *** [i686-pc-cygwin/bits/extc++.h.gch/O2g.gch] Error 1
make[4]: Leaving directory 
`/cygdrive/p/gcc/gcc4/i686-pc-cygwin/libstdc++-v3/include'
make[3]: *** [all-recursive] Error 1

Second:
=======

In file included from 
/cygdrive/p/gcc/gcc4/i686-pc-cygwin/libstdc++-v3/include/ext/pb_ds/detail/standard_policies.hpp:45,
                  from 
/cygdrive/p/gcc/gcc4/i686-pc-cygwin/libstdc++-v3/include/ext/pb_ds/assoc_container.hpp:46,
                  from 
/cygdrive/p/gcc/gcc-src/gcc-4.4.2/libstdc++-v3/include/precompiled/extc++.h:58:
/cygdrive/p/gcc/gcc4/i686-pc-cygwin/libstdc++-v3/include/ext/pb_ds/hash_policy.hpp:287:81: 
error: 
ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp: 
No such file or directory
make[4]: *** [i686-pc-cygwin/bits/extc++.h.gch/O2g.gch] Error 1


If both file names are fixes (getting the .hpp suffix),
the build works fine (cygwin environment in my case).

I found no comment about this problem yet (which is a little bit
like a surprise for me as this hinders a successful build and the
version is out a couple of weeks now).

I send this as an email because I am not sure whether such bugs of the
deployment of the tar file is a real bug. Seems more a configuration
or build problem of the preparation of these deliverables.

Hope this helps and best regards
  Nico

-- 
Nicolai M. Josuttis

   SOA in Practice       http://soa-in-practice.com
   IT communication      http://it-communication.com
   Solutions in Time     http://www.josuttis.de

   +49 (0)531 / 129 88 86
   +49 (0)700 / 5678 8888
   +49 (0)700 / JOSUTTIS



More information about the Gcc mailing list