Doing a build of gcc from revision 134693 with build=host=x86_64-pc-linux and target=i686-pc-mingw32 yields the following mess of errors:
[EMAIL PROTECTED]:/var/tmp/g-tw64$ make > /dev/null ctype_members.cc: In member function 'virtual char std::ctype<wchar_t>::do_narrow(wchar_t, char) const': ctype_members.cc:210: warning: comparison is always true due to limited range of data type ctype_members.cc: In member function 'virtual const wchar_t* std::ctype<wchar_t>::do_narrow(const wchar_t*, const wchar_t*, char, char*) const': ctype_members.cc:224: warning: comparison is always true due to limited range of data type In file included from /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/algobase.h:46, from /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/bits/stl_algobase.h:1137, from /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/list:66, from ../../../../build/gcc-svn/gcc/libstdc++-v3/src/list.cc:56, from ../../../../build/gcc-svn/gcc/libstdc++-v3/src/parallel_list.cc:30: /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/base.h:43:17: error: omp.h: No such file or directory In file included from /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/parallel.h:45, from /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/base.h:46, from /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/algobase.h:46, from /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/bits/stl_algobase.h:1137, from /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/list:66, from ../../../../build/gcc-svn/gcc/libstdc++-v3/src/list.cc:56, from ../../../../build/gcc-svn/gcc/libstdc++-v3/src/parallel_list.cc:30: /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/tags.h: In member function '__gnu_parallel::thread_index_t __gnu_parallel::parallel_tag::get_num_threads()': /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/tags.h:79: error: 'omp_get_max_threads' was not declared in this scope In file included from /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/algobase.h:46, from /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/bits/stl_algobase.h:1137, from /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/list:66, from ../../../../build/gcc-svn/gcc/libstdc++-v3/src/list.cc:56, from ../../../../build/gcc-svn/gcc/libstdc++-v3/src/parallel_list.cc:30: /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/base.h: In function 'int __gnu_parallel::get_max_threads()': /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/base.h:94: error: 'omp_get_max_threads' was not declared in this scope In file included from /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/algobase.h:49, from /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/bits/stl_algobase.h:1137, from /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/list:66, from ../../../../build/gcc-svn/gcc/libstdc++-v3/src/list.cc:56, from ../../../../build/gcc-svn/gcc/libstdc++-v3/src/parallel_list.cc:30: /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h: In function 'std::pair<_T1, _T2> __gnu_parallel::find_template(RandomAccessIterator1, RandomAccessIterator1, RandomAccessIterator2, Pred, Selector, __gnu_parallel::equal_split_tag)': /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:120: error: 'omp_lock_t' was not declared in this scope /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:120: error: expected ';' before 'result_lock' /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:121: error: 'result_lock' was not declared in this scope /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:121: error: there are no arguments to 'omp_init_lock' that depend on a template parameter, so a declaration of 'omp_init_lock' must be available /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:121: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:128: error: there are no arguments to 'omp_get_num_threads' that depend on a template parameter, so a declaration of 'omp_get_num_threads' must be available /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:133: error: there are no arguments to 'omp_get_thread_num' that depend on a template parameter, so a declaration of 'omp_get_thread_num' must be available /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:147: error: there are no arguments to 'omp_set_lock' that depend on a template parameter, so a declaration of 'omp_set_lock' must be available /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:150: error: there are no arguments to 'omp_unset_lock' that depend on a template parameter, so a declaration of 'omp_unset_lock' must be available /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:158: error: there are no arguments to 'omp_destroy_lock' that depend on a template parameter, so a declaration of 'omp_destroy_lock' must be available /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h: In function 'std::pair<_T1, _T2> __gnu_parallel::find_template(RandomAccessIterator1, RandomAccessIterator1, RandomAccessIterator2, Pred, Selector, __gnu_parallel::growing_blocks_tag)': /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:226: error: 'omp_lock_t' was not declared in this scope /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:226: error: expected ';' before 'result_lock' /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:227: error: 'result_lock' was not declared in this scope /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:227: error: there are no arguments to 'omp_init_lock' that depend on a template parameter, so a declaration of 'omp_init_lock' must be available /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:233: error: there are no arguments to 'omp_get_num_threads' that depend on a template parameter, so a declaration of 'omp_get_num_threads' must be available /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:236: error: there are no arguments to 'omp_get_thread_num' that depend on a template parameter, so a declaration of 'omp_get_thread_num' must be available /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:262: error: there are no arguments to 'omp_set_lock' that depend on a template parameter, so a declaration of 'omp_set_lock' must be available /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:270: error: there are no arguments to 'omp_unset_lock' that depend on a template parameter, so a declaration of 'omp_unset_lock' must be available /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:285: error: there are no arguments to 'omp_destroy_lock' that depend on a template parameter, so a declaration of 'omp_destroy_lock' must be available /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h: In function 'std::pair<_T1, _T2> __gnu_parallel::find_template(RandomAccessIterator1, RandomAccessIterator1, RandomAccessIterator2, Pred, Selector, __gnu_parallel::constant_size_blocks_tag)': /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:345: error: 'omp_lock_t' was not declared in this scope /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:345: error: expected ';' before 'result_lock' /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:346: error: 'result_lock' was not declared in this scope /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:346: error: there are no arguments to 'omp_init_lock' that depend on a template parameter, so a declaration of 'omp_init_lock' must be available /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:354: error: there are no arguments to 'omp_get_num_threads' that depend on a template parameter, so a declaration of 'omp_get_num_threads' must be available /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:356: error: there are no arguments to 'omp_get_thread_num' that depend on a template parameter, so a declaration of 'omp_get_thread_num' must be available /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:381: error: there are no arguments to 'omp_set_lock' that depend on a template parameter, so a declaration of 'omp_set_lock' must be available /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:384: error: there are no arguments to 'omp_unset_lock' that depend on a template parameter, so a declaration of 'omp_unset_lock' must be available /var/tmp/g-tw64/i686-pc-mingw32/libstdc++-v3/include/parallel/find.h:397: error: there are no arguments to 'omp_destroy_lock' that depend on a template parameter, so a declaration of 'omp_destroy_lock' must be available make[4]: *** [parallel_list.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-target-libstdc++-v3] Error 2 make: *** [all] Error 2