Folks, I am trying to build gcc 4.2.1 on a Solaris 8 system and it keeps complaining about this file being missing constructors_destructor_fn_imps.hpp Within the tree the file does exist find ./ -name hash_load_check_resize_trigger_imp.hpp -print ./stage3-sparc-sun-solaris2.8/libstdc++-v3/include/ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp ./stage3-sparc-sun-solaris2.8/sparcv9/libstdc++-v3/include/ext/pb_ds/detail/resize_policy/hash_load_check_resize_trigger_imp.hpp This is the script I am building with. #!/usr/bin/bash # PATH="/opt/gnuada/bin:${PATH}" # OPTS="" OPTS="${OPTS} --prefix=/usr/local/gcc421 " OPTS="${OPTS} --enable-languages=c,c++,fortran,java,ada" OPTS="${OPTS} -with-x " OPTS="${OPTS} --enable-java-awt=gtk,xlib " # ../gcc-4.2.1/configure ${OPTS} # gmake uname -a SunOS moulokin 5.8 Generic_117350-46 sun4u sparc SUNW,Sun-Blade-100 Any idea? This is the section of the log where it fails. /home2/laster/GNU/gcc-4.2.1-BUILD1/./gcc/xgcc -shared-libgcc -B/home2/laster/GNU/gcc-4.2.1-BUILD1/./gcc -nostdinc++ -L/home2/laster/GNU/gcc-4.2.1-BUILD1/sparc-sun-solaris2.8/libstdc++-v3/src -L/home2/laster/GNU/gcc-4.2.1-BUILD1/sparc-sun-solaris2.8/libstdc++-v3/src/.libs -B/usr/local/gcc421/sparc-sun-solaris2.8/bin/ -B/usr/local/gcc421/sparc-sun-solaris2.8/lib/ -isystem /usr/local/gcc421/sparc-sun-solaris2.8/include -isystem /usr/local/gcc421/sparc-sun-solaris2.8/sys-include -Winvalid-pch -Wno-deprecated -x c++-header -g -O2 -I/home2/laster/GNU/gcc-4.2.1-BUILD1/sparc-sun-solaris2.8/libstdc++-v3/include/sparc-sun-solaris2.8 -I/home2/laster/GNU/gcc-4.2.1-BUILD1/sparc-sun-solaris2.8/libstdc++-v3/include -I/home2/laster/GNU/gcc-4.2.1/libstdc++-v3/libsupc++ -O2 -g /home2/laster/GNU/gcc-4.2.1/libstdc++-v3/include/precompiled/extc++.h -o sparc-sun-solaris2.8/bits/extc++.h.gch/O2g.gch In file included from /home2/laster/GNU/gcc-4.2.1-BUILD1/sparc-sun-solaris2.8/libstdc++-v3/include/ext/pb_ds/detail/standard_policies.hpp:51, from /home2/laster/GNU/gcc-4.2.1-BUILD1/sparc-sun-solaris2.8/libstdc++-v3/include/ext/pb_ds/assoc_container.hpp:52, from /home2/laster/GNU/gcc-4.2.1/libstdc++-v3/include/precompiled/extc++.h:59: /home /home2/laster/GNU/gcc-4.2.1-BUILD1/./gcc/xgcc -shared-libgcc -B/home2/laster/GNU/gcc-4.2.1-BUILD1/./gcc -nostdinc++ -L/home2/laster/GNU/gcc-4.2.1-BUILD1/sparc-sun-solaris2.8/libstdc++-v3/src -L/home2/laster/GNU/gcc-4.2.1-BUILD1/sparc-sun-solaris2.8/libstdc++-v3/src/.libs -B/usr/local/gcc421/sparc-sun-solaris2.8/bin/ -B/usr/local/gcc421/sparc-sun-solaris2.8/lib/ -isystem /usr/local/gcc421/sparc-sun-solaris2.8/include -isystem /usr/local/gcc421/sparc-sun-solaris2.8/sys-include -Winvalid-pch -Wno-deprecated -x c++-header -g -O2 -I/home2/laster/GNU/gcc-4.2.1-BUILD1/sparc-sun-solaris2.8/libstdc++-v3/include/sparc-sun-solaris2.8 -I/home2/laster/GNU/gcc-4.2.1-BUILD1/sparc-sun-solaris2.8/libstdc++-v3/include -I/home2/laster/GNU/gcc-4.2.1/libstdc++-v3/libsupc++ -O2 -g /home2/laster/GNU/gcc-4.2.1/libstdc++-v3/include/precompiled/extc++.h -o sparc-sun-solaris2.8/bits/extc++.h.gch/O2g.gch In file included from /home2/laster/GNU/gcc-4.2.1-BUILD1/sparc-sun-solaris2.8/libstdc++-v3/include/ext/pb_ds/detail/standard_policies.hpp:51, from /home2/laster/GNU/gcc-4.2.1-BUILD1/sparc-sun-solaris2.8/libstdc++-v3/include/ext/pb_ds/assoc_container.hpp:52, from /home2/laster/GNU/gcc-4.2.1/libstdc++-v3/include/precompiled/extc++.h:59: /home2/laster/GNU/gcc-4.2.1-BUILD1/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 /home2/laster/GNU/gcc-4.2.1-BUILD1/sparc-sun-solaris2.8/libstdc++-v3/include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp:54, from /home2/laster/GNU/gcc-4.2.1-BUILD1/sparc-sun-solaris2.8/libstdc++-v3/include/ext/pb_ds/detail/container_base_dispatch.hpp:61, from /home2/laster/GNU/gcc-4.2.1-BUILD1/sparc-sun-solaris2.8/libstdc++-v3/include/ext/pb_ds/assoc_container.hpp:53, from /home2/laster/GNU/gcc-4.2.1/libstdc++-v3/include/precompiled/extc++.h:59: /home2/laster/GNU/gcc-4.2.1-BUILD1/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 gmake[4]: *** [sparc-sun-solaris2.8/bits/extc++.h.gch/O2g.gch] Error 1 gmake[4]: Leaving directory `/home2/laster/GNU/gcc-4.2.1-BUILD1/sparc-sun-solaris2.8/libstdc++-v3/include' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/home2/laster/GNU/gcc-4.2.1-BUILD1/sparc-sun-solaris2.8/libstdc++-v3' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/home2/laster/GNU/gcc-4.2.1-BUILD1/sparc-sun-solaris2.8/libstdc++-v3' gmake[1]: *** [all-target-libstdc++-v3] Error 2 gmake[1]: Leaving directory `/home2/laster/GNU/gcc-4.2.1-BUILD1' gmake: *** [all] Error 2 2/laster/GNU/gcc-4.2.1-BUILD1/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 /home2/laster/GNU/gcc-4.2.1-BUILD1/sparc-sun-solaris2.8/libstdc++-v3/include/ext/pb_ds/detail/rb_tree_map_/rb_tree_.hpp:54, from /home2/laster/GNU/gcc-4.2.1-BUILD1/sparc-sun-solaris2.8/libstdc++-v3/include/ext/pb_ds/detail/container_base_dispatch.hpp:61, from /home2/laster/GNU/gcc-4.2.1-BUILD1/sparc-sun-solaris2.8/libstdc++-v3/include/ext/pb_ds/assoc_container.hpp:53, from /home2/laster/GNU/gcc-4.2.1/libstdc++-v3/include/precompiled/extc++.h:59: /home2/laster/GNU/gcc-4.2.1-BUILD1/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 gmake[4]: *** [sparc-sun-solaris2.8/bits/extc++.h.gch/O2g.gch] Error 1 gmake[4]: Leaving directory `/home2/laster/GNU/gcc-4.2.1-BUILD1/sparc-sun-solaris2.8/libstdc++-v3/include' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/home2/laster/GNU/gcc-4.2.1-BUILD1/sparc-sun-solaris2.8/libstdc++-v3' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/home2/laster/GNU/gcc-4.2.1-BUILD1/sparc-sun-solaris2.8/libstdc++-v3' gmake[1]: *** [all-target-libstdc++-v3] Error 2 gmake[1]: Leaving directory `/home2/laster/GNU/gcc-4.2.1-BUILD1' gmake: *** [all] Error 2