I REALLY REALLY apologize for the length of this bug report. I just don't know what is necessary to post, so I have provided everything from the last four compile lines (-j4) to the end of the error message. The build of kernel/qclipboard_x11.cpp fails. There is one caveat. I am using distcc, and the remote machine has a slightly newer version of gcc. The local one is: gcc version 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7.1) The remote one is: gcc version 3.4.3-20050110 (Gentoo Linux 3.4.3.20050110-r2, ssp-3.4.3.20050110-0, pie-8.7.7) The file that fails to compile gets scheduled on the remote machine. I'll let you know if the compile succeeds with distcc disabled. Thank you very much for your time. g++ -c -pipe -I/usr/include/mysql -I/usr/include/postgresql/server -I/usr/include/postgresql/pgsql -I/usr/include/postgresql/pgsql/server -fno-exceptions -Wall -W -march=pentium4 -pipe -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA-DQT_DLOPEN_OPENGL -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qclipboard_x11.o kernel/qclipboard_x11.cpp g++ -c -pipe -I/usr/include/mysql -I/usr/include/postgresql/server -I/usr/include/postgresql/pgsql -I/usr/include/postgresql/pgsql/server -fno-exceptions -Wall -W -march=pentium4 -pipe -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA-DQT_DLOPEN_OPENGL -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qcolor_x11.o kernel/qcolor_x11.cpp g++ -c -pipe -I/usr/include/mysql -I/usr/include/postgresql/server -I/usr/include/postgresql/pgsql -I/usr/include/postgresql/pgsql/server -fno-exceptions -Wall -W -march=pentium4 -pipe -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA-DQT_DLOPEN_OPENGL -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qcursor_x11.o kernel/qcursor_x11.cpp g++ -c -pipe -I/usr/include/mysql -I/usr/include/postgresql/server -I/usr/include/postgresql/pgsql -I/usr/include/postgresql/pgsql/server -fno-exceptions -Wall -W -march=pentium4 -pipe -O2 -D_REENTRANT -fPIC -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_NO_XINERAMA-DQT_DLOPEN_OPENGL -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -I/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qdnd_x11.o kernel/qdnd_x11.cpp In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/basic_ios.h:44, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/ios:51, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/ostream:45, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/iterator:70, from ../include/qvaluelist.h:48, from ../include/qstringlist.h:42, from kernel/qcolor.h:43, from kernel/qpixmap.h:43, from kernel/qbitmap.h:42, from kernel/qcursor_x11.cpp:39: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h: In constructor `std::numpunct_byname<_CharT>::numpunct_byname(const char*, size_t)': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h:696: error: there are no arguments to `_S_create_c_locale' that depend on a template parameter, so a declaration of `_S_create_c_locale' must be available /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h:696: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h:697: error: there are no arguments to `_M_initialize_numpunct' that depend on a template parameter, so a declaration of `_M_initialize_numpunct' must be available /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h: In destructor `virtual std::numpunct_byname<_CharT>::~numpunct_byname()': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h:703: error: there are no arguments to `_S_destroy_c_locale' that depend on a template parameter, so a declaration of `_S_destroy_c_locale' must be available /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h: In constructor `std::collate_byname<_CharT>::collate_byname(const char*, size_t)': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h:1077: error: `_M_c_locale_collate' undeclared (first use this function) /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h:1077: error: (Each undeclared identifier is reported only once for each function it appears in.) /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h:1077: error: there are no arguments to `_S_destroy_c_locale' that depend on a template parameter, so a declaration of `_S_destroy_c_locale' must be available /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h:1078: error: there are no arguments to `_S_create_c_locale' that depend on a template parameter, so a declaration of `_S_create_c_locale' must be available In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/basic_ios.h:44, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/ios:51, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/ostream:45, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/iterator:70, from ../include/qvaluelist.h:48, from ../include/qstringlist.h:42, from kernel/qcolor.h:43, from kernel/qpixmap.h:43, from kernel/qbitmap.h:42, from kernel/qcursor_x11.cpp:39: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h: In constructor `std::moneypunct_byname<_CharT, _Intl>::moneypunct_byname(const char*, size_t)': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h:1660: error: there are no arguments to `_S_create_c_locale' that depend on a template parameter, so a declaration of `_S_create_c_locale' must be available /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h:1661: error: there are no arguments to `_M_initialize_moneypunct' that depend on a template parameter, so a declaration of `_M_initialize_moneypunct' must be available /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h: In destructor `virtual std::moneypunct_byname<_CharT, _Intl>::~moneypunct_byname()': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h:1667: error: there are no arguments to `_S_destroy_c_locale' that depend on a template parameter, so a declaration of `_S_destroy_c_locale' must be available In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h:1891, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/basic_ios.h:44, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/ios:51, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/ostream:45, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/iterator:70, from ../include/qvaluelist.h:48, from ../include/qstringlist.h:42, from kernel/qcolor.h:43, from kernel/qpixmap.h:43, from kernel/qbitmap.h:42, from kernel/qcursor_x11.cpp:39: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/i686-pc-linux-gnu/bits/messages_members.h: In constructor`std::messages_byname<_CharT>::messages_byname(const char*, size_t)': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/i686-pc-linux-gnu/bits/messages_members.h:106: error: `_M_c_locale_messages' undeclared (first use this function) /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/i686-pc-linux-gnu/bits/messages_members.h:106: error: there are no arguments to `_S_destroy_c_locale' that depend on a template parameter, so a declaration of `_S_destroy_c_locale'must be available /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/i686-pc-linux-gnu/bits/messages_members.h:107: error: there are no arguments to `_S_create_c_locale' that depend on a template parameter, so a declaration of `_S_create_c_locale' must be available In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.tcc:43, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/locale:47, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/ostream.tcc:37, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/ostream:535, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/iterator:70, from ../include/qvaluelist.h:48, from ../include/qstringlist.h:42, from kernel/qcolor.h:43, from kernel/qpixmap.h:43, from kernel/qbitmap.h:42, from kernel/qcursor_x11.cpp:39: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits: At global scope: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:897: error: `float __builtin_huge_valf()' cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:897: error: a function call cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:897: error: `float __builtin_huge_valf()' cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:897: error: a function call cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:899: error: `float __builtin_nanf(const char*)' cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:899: error: a function call cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:899: error: `float __builtin_nanf(const char*)' cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:899: error: a function call cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:900: error: field initializer is not constant /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:915: error: field initializer is not constant /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:955: error: `double __builtin_huge_val()' cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:955: error: a function call cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:955: error: `double __builtin_huge_val()' cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:955: error: a function call cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:957: error: `double __builtin_nan(const char*)' cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:957: error: a function call cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:957: error: `double __builtin_nan(const char*)' cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:957: error: a function call cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:958: error: field initializer is not constant /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:973: error: field initializer is not constant /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:1013: error: `long double __builtin_huge_vall()' cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:1013: error: a function call cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:1013: error: `long double __builtin_huge_vall()' cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:1013: error: a function call cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:1015: error: `long double __builtin_nanl(const char*)' cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:1015: error: a function call cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:1015: error: `long double __builtin_nanl(const char*)' cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:1015: error: a function call cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:1016: error: field initializer is not constant /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:1032: error: field initializer is not constant In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/list:71, from ../include/qvaluelist.h:49, from ../include/qstringlist.h:42, from kernel/qcolor.h:43, from kernel/qpixmap.h:43, from kernel/qbitmap.h:42, from kernel/qcursor_x11.cpp:39: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_list.h: In constructor `std::_List_base<_Tp, _Alloc>::_List_base(const typename std::_List_alloc_base<_Tp, _Alloc, std::_Alloc_traits<_Tp,_Allocator>::_S_instanceless>::allocator_type&)': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_list.h:306: error: `_M_node' undeclared (first use this function) /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_list.h:306: error: there are no arguments to `_M_get_node' that depend on a template parameter, so a declaration of `_M_get_node' must be available /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_list.h: In destructor `std::_List_base<_Tp, _Alloc>::~_List_base()': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_list.h:315: error: `_M_node' undeclared (first use this function) /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_list.h:315: error: there are no arguments to `_M_put_node' that depend on a template parameter, so a declaration of `_M_put_node' must be available In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/list:74, from ../include/qvaluelist.h:49, from ../include/qstringlist.h:42, from kernel/qcolor.h:43, from kernel/qpixmap.h:43, from kernel/qbitmap.h:42, from kernel/qcursor_x11.cpp:39: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/list.tcc: In member function `void std::_List_base<_Tp, _Alloc>::__clear()': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/list.tcc:72: error: `_M_node' undeclared (first use this function) In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/map:66, from ../include/qmap.h:51, from kernel/qmime.h:43, from kernel/qevent.h:45, from kernel/qobject.h:45, from kernel/qwidget.h:43, from kernel/qdesktopwidget.h:40, from kernel/qapplication.h:42, from kernel/qcursor_x11.cpp:41: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_tree.h: In constructor `std::_Rb_tree_base<_Tp, _Alloc>::_Rb_tree_base(const typename std::_Rb_tree_alloc_base<_Tp, _Alloc, std::_Alloc_traits<_Tp,_Allocator>::_S_instanceless>::allocator_type&)': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_tree.h:579: error: `_M_header' undeclared (firstuse this function) /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_tree.h:579: error: there are no arguments to `_M_get_node' that depend on a template parameter, so a declaration of `_M_get_node' must be available /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_tree.h: In destructor `std::_Rb_tree_base<_Tp, _Alloc>::~_Rb_tree_base()': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_tree.h:580: error: `_M_header' undeclared (firstuse this function) /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_tree.h:580: error: there are no arguments to `_M_put_node' that depend on a template parameter, so a declaration of `_M_put_node' must be available distcc[13536] ERROR: compile kernel/qcursor_x11.cpp on pc-andy failed make[1]: *** [.obj/release-shared-mt/qcursor_x11.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/basic_ios.h:44, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/ios:51, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/ostream:45, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/iterator:70, from ../include/qvaluelist.h:48, from ../include/qmap.h:46, from kernel/qmime.h:43, from kernel/qevent.h:45, from kernel/qobject.h:45, from kernel/qclipboard.h:43, from kernel/qclipboard_x11.cpp:60: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h: In constructor `std::numpunct_byname<_CharT>::numpunct_byname(const char*, size_t)': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h:696: error: there are no arguments to `_S_create_c_locale' that depend on a template parameter, so a declaration of `_S_create_c_locale' must be available /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h:696: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h:697: error: there are no arguments to `_M_initialize_numpunct' that depend on a template parameter, so a declaration of `_M_initialize_numpunct' must be available /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h: In destructor `virtual std::numpunct_byname<_CharT>::~numpunct_byname()': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h:703: error: there are no arguments to `_S_destroy_c_locale' that depend on a template parameter, so a declaration of `_S_destroy_c_locale' must be available /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h: In constructor `std::collate_byname<_CharT>::collate_byname(const char*, size_t)': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h:1077: error: `_M_c_locale_collate' undeclared (first use this function) /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h:1077: error: (Each undeclared identifier is reported only once for each function it appears in.) /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h:1077: error: there are no arguments to `_S_destroy_c_locale' that depend on a template parameter, so a declaration of `_S_destroy_c_locale' must be available /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h:1078: error: there are no arguments to `_S_create_c_locale' that depend on a template parameter, so a declaration of `_S_create_c_locale' must be available In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/basic_ios.h:44, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/ios:51, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/ostream:45, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/iterator:70, from ../include/qvaluelist.h:48, from ../include/qmap.h:46, from kernel/qmime.h:43, from kernel/qevent.h:45, from kernel/qobject.h:45, from kernel/qclipboard.h:43, from kernel/qclipboard_x11.cpp:60: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h: In constructor `std::moneypunct_byname<_CharT, _Intl>::moneypunct_byname(const char*, size_t)': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h:1660: error: there are no arguments to `_S_create_c_locale' that depend on a template parameter, so a declaration of `_S_create_c_locale' must be available /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h:1661: error: there are no arguments to `_M_initialize_moneypunct' that depend on a template parameter, so a declaration of `_M_initialize_moneypunct' must be available /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h: In destructor `virtual std::moneypunct_byname<_CharT, _Intl>::~moneypunct_byname()': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h:1667: error: there are no arguments to `_S_destroy_c_locale' that depend on a template parameter, so a declaration of `_S_destroy_c_locale' must be available In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.h:1891, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/basic_ios.h:44, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/ios:51, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/ostream:45, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/iterator:70, from ../include/qvaluelist.h:48, from ../include/qmap.h:46, from kernel/qmime.h:43, from kernel/qevent.h:45, from kernel/qobject.h:45, from kernel/qclipboard.h:43, from kernel/qclipboard_x11.cpp:60: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/i686-pc-linux-gnu/bits/messages_members.h: In constructor`std::messages_byname<_CharT>::messages_byname(const char*, size_t)': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/i686-pc-linux-gnu/bits/messages_members.h:106: error: `_M_c_locale_messages' undeclared (first use this function) /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/i686-pc-linux-gnu/bits/messages_members.h:106: error: there are no arguments to `_S_destroy_c_locale' that depend on a template parameter, so a declaration of `_S_destroy_c_locale'must be available /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/i686-pc-linux-gnu/bits/messages_members.h:107: error: there are no arguments to `_S_create_c_locale' that depend on a template parameter, so a declaration of `_S_create_c_locale' must be available In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/locale_facets.tcc:43, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/locale:47, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/ostream.tcc:37, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/ostream:535, from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/iterator:70, from ../include/qvaluelist.h:48, from ../include/qmap.h:46, from kernel/qmime.h:43, from kernel/qevent.h:45, from kernel/qobject.h:45, from kernel/qclipboard.h:43, from kernel/qclipboard_x11.cpp:60: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits: At global scope: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:897: error: `float __builtin_huge_valf()' cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:897: error: a function call cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:897: error: `float __builtin_huge_valf()' cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:897: error: a function call cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:899: error: `float __builtin_nanf(const char*)' cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:899: error: a function call cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:899: error: `float __builtin_nanf(const char*)' cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:899: error: a function call cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:900: error: field initializer is not constant /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:915: error: field initializer is not constant /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:955: error: `double __builtin_huge_val()' cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:955: error: a function call cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:955: error: `double __builtin_huge_val()' cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:955: error: a function call cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:957: error: `double __builtin_nan(const char*)' cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:957: error: a function call cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:957: error: `double __builtin_nan(const char*)' cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:957: error: a function call cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:958: error: field initializer is not constant /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:973: error: field initializer is not constant /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:1013: error: `long double __builtin_huge_vall()' cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:1013: error: a function call cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:1013: error: `long double __builtin_huge_vall()' cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:1013: error: a function call cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:1015: error: `long double __builtin_nanl(const char*)' cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:1015: error: a function call cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:1015: error: `long double __builtin_nanl(const char*)' cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:1015: error: a function call cannot appear in a constant-expression /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:1016: error: field initializer is not constant /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/limits:1032: error: field initializer is not constant In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/list:71, from ../include/qvaluelist.h:49, from ../include/qmap.h:46, from kernel/qmime.h:43, from kernel/qevent.h:45, from kernel/qobject.h:45, from kernel/qclipboard.h:43, from kernel/qclipboard_x11.cpp:60: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_list.h: In constructor `std::_List_base<_Tp, _Alloc>::_List_base(const typename std::_List_alloc_base<_Tp, _Alloc, std::_Alloc_traits<_Tp,_Allocator>::_S_instanceless>::allocator_type&)': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_list.h:306: error: `_M_node' undeclared (first use this function) /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_list.h:306: error: there are no arguments to `_M_get_node' that depend on a template parameter, so a declaration of `_M_get_node' must be available /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_list.h: In destructor `std::_List_base<_Tp, _Alloc>::~_List_base()': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_list.h:315: error: `_M_node' undeclared (first use this function) /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_list.h:315: error: there are no arguments to `_M_put_node' that depend on a template parameter, so a declaration of `_M_put_node' must be available In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/list:74, from ../include/qvaluelist.h:49, from ../include/qmap.h:46, from kernel/qmime.h:43, from kernel/qevent.h:45, from kernel/qobject.h:45, from kernel/qclipboard.h:43, from kernel/qclipboard_x11.cpp:60: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/list.tcc: In member function `void std::_List_base<_Tp, _Alloc>::__clear()': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/list.tcc:72: error: `_M_node' undeclared (first use this function) In file included from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/map:66, from ../include/qmap.h:51, from kernel/qmime.h:43, from kernel/qevent.h:45, from kernel/qobject.h:45, from kernel/qclipboard.h:43, from kernel/qclipboard_x11.cpp:60: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_tree.h: In constructor `std::_Rb_tree_base<_Tp, _Alloc>::_Rb_tree_base(const typename std::_Rb_tree_alloc_base<_Tp, _Alloc, std::_Alloc_traits<_Tp,_Allocator>::_S_instanceless>::allocator_type&)': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_tree.h:579: error: `_M_header' undeclared (firstuse this function) /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_tree.h:579: error: there are no arguments to `_M_get_node' that depend on a template parameter, so a declaration of `_M_get_node' must be available /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_tree.h: In destructor `std::_Rb_tree_base<_Tp, _Alloc>::~_Rb_tree_base()': /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_tree.h:580: error: `_M_header' undeclared (firstuse this function) /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/include/g++-v3/bits/stl_tree.h:580: error: there are no arguments to `_M_put_node' that depend on a template parameter, so a declaration of `_M_put_node' must be available distcc[13533] ERROR: compile kernel/qclipboard_x11.cpp on pc-andy failed make[1]: *** [.obj/release-shared-mt/qclipboard_x11.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/qt-3.3.4-r3/work/qt-x11-free-3.3.4/src' make: *** [sub-src] Error 2 !!! ERROR: x11-libs/qt-3.3.4-r3 failed. !!! Function src_compile, Line 153, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Update: Disabling distcc seems to have solved the problem. This is a compile-time error, so it won't be caused by differences in compiler versions, so I suspect it's one of the following problems: (1) qt-3.3.4-r3 has code that is not compatible with gcc 3.4.3 (2) My gcc 3.3.5 environment or other local files are not compatible with gcc 3.4.3. (3) distcc is interfering with the compilation process in some way. Also, I forgot to provide my emerge info: Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Jun 1 2005, 11:53:48)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse -fprefetch-loop-arrays -fforce-addr -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse -fprefetch-loop-arrays -fforce-addr -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.binarycompass.org http://gentoo.mirror.sdv.fr http://www.gigaload.org/gentoo.org/ http://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X Xaw3d aalib acpi aim alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bmp bonobo bzlib calendar cdr crypt cups curl dga dio directfb divx4linux doc eds emacs emacs-w3 emboss encode esd evo f77 f90 fam fbcon foomaticdb fortran ftp gb gcj gd gdbm ggi gif gnome gpm gstreamer gtk gtk2 gtkhtml icq imagemagick imlib innodb ipv6 jabber java jpeg junit kde ldap lesstif libg++ libgda libwww mad mikmod mime mmap mmx motif mozilla mp3 mpeg mpi msn msqli mysql ncurses nls offensive ogg oggvorbis openal opengl oss pam pcre pdflib perl php pie png postgres ppds python qt quicktime readline ruby samba scanner sdlsession shared sharedmem slang sockets spell spl sse ssl svg svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts unicode usb vorbis wxwindowsxml xml2 xmms xslt xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
You can't mix gcc 3.3/4. Neither on different nodes, nor on one system. The C++ ABI of these gcc versions is not the same, so you have to recompile all c++ stuff compiled with gcc 3.3 with gcc 3.4 after your upgrade.