>>> Unpacking source... >>> Unpacking uClibc++-0.2.2.tar.bz2 to /var/tmp/portage/sys-libs/uclibc++-0.2.2-r1/work make -j14 -j1 -s defconfig conf.c: In function 'conf_askvalue': conf.c:93: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result conf.c: In function 'conf_choice': conf.c:349: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result In file included from zconf.tab.c:2123: confdata.c: In function 'conf_write': confdata.c:369: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result confdata.c:371: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result In file included from zconf.tab.c:2124: expr.c: In function 'expr_print_file_helper': expr.c:1069: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result zconf.tab.c: At top level: lex.zconf.c:2969: warning: 'input' defined but not used * Enabling UCLIBCXX_RUNTIME_PREFIX * Enabling BUILD_STATIC_LIB make -j14 oldconfig # # using defaults found in .config # * * uClibc++ Configuration * * * Target Features and Options * Enable floating point number support (UCLIBCXX_HAS_FLOATS) [Y/n/?] y Math operations with long double (UCLIBCXX_HAS_LONG_DOUBLE) [Y/n/?] y Toolchain supports Thread-Local Storage (UCLIBCXX_HAS_TLS) [Y/n/?] y Compiler Warnings (WARNINGS) [-Wall] -Wall Extra Library Link Flags (BUILD_EXTRA_LIBRARIES) [] * * String and I/O Stream Support * Wide Character Support (Not Currently Supported) (UCLIBCXX_HAS_WCHAR) [N/y/?] n I/O stream buffer size (UCLIBCXX_IOSTREAM_BUFSIZE) [32] 32 Large File Support (UCLIBCXX_HAS_LFS) [Y/n/?] y Enable support for standard streams like cin and cout (UCLIBCXX_SUPPORT_CDIR) [Y/n/?] y Enable cin (UCLIBCXX_SUPPORT_CIN) [Y/n/?] y Enable cout (UCLIBCXX_SUPPORT_COUT) [Y/n/?] y Enable cerr (UCLIBCXX_SUPPORT_CERR) [Y/n/?] y Enable clog (UCLIBCXX_SUPPORT_CLOG) [N/y/?] n * * STL and Code Expansion * STL buffer size (UCLIBCXX_STL_BUFFER_SIZE) [32] 32 Template code expansion (UCLIBCXX_CODE_EXPANSION) [Y/n/?] y Expand constructors and destructors (UCLIBCXX_EXPAND_CONSTRUCTORS_DESTRUCTORS) [Y/n/?] y Expand std::basic_string for (UCLIBCXX_EXPAND_STRING_CHAR) [Y/n/?] y Expand std::vector for basic data types (UCLIBCXX_EXPAND_VECTOR_BASIC) [Y/n/?] y Expand ios core code for char (UCLIBCXX_EXPAND_IOS_CHAR) [Y/n/?] y Expand std::streambuf for char (UCLIBCXX_EXPAND_STREAMBUF_CHAR) [Y/n/?] y Expand std::istream for (UCLIBCXX_EXPAND_ISTREAM_CHAR) [Y/n/?] y Expand std::ostream for (UCLIBCXX_EXPAND_OSTREAM_CHAR) [Y/n/?] y Expand std::fstream for (UCLIBCXX_EXPAND_FSTREAM_CHAR) [Y/n/?] y Expand std::sstream for (UCLIBCXX_EXPAND_SSTREAM_CHAR) [Y/n/?] y * * Library Installation Options * uClibc++ runtime prefix directory (UCLIBCXX_RUNTIME_PREFIX) [/usr/i686-pc-linux-gnu] /usr/i686-pc-linux-gnu uClibc++ header file subdirectory (UCLIBCXX_RUNTIME_INCLUDE_SUBDIR) [/include] /include uClibc++ library subdirectory (UCLIBCXX_RUNTIME_LIB_SUBDIR) [/lib] /lib uClibc++ application file subdirectory (UCLIBCXX_RUNTIME_BIN_SUBDIR) [/bin] /bin Exception and RTTI support (UCLIBCXX_EXCEPTION_SUPPORT) [Y/n/?] y Import libsupc++.a (IMPORT_LIBSUP) [Y/n/?] y Import libgcc_eh.a (IMPORT_LIBGCC_EH) [Y/n/?] y Build static library (BUILD_STATIC_LIB) [Y/n/?] y Build only static library (BUILD_ONLY_STATIC_LIB) [N/y/?] n Build uClibc++ with debugging symbols (DODEBUG) [N/y/?] n >>> Source unpacked in /var/tmp/portage/sys-libs/uclibc++-0.2.2-r1/work >>> Compiling source in /var/tmp/portage/sys-libs/uclibc++-0.2.2-r1/work/uClibc++-0.2.2 ... make -j14 STRIPTOOL=true 'OPTIMIZATION=-O2 -pipe' CROSS=i686-pc-linux-gnu- for dir in bin include src ; do \ make -C $dir all; \ done make[1]: Entering directory `/var/tmp/portage/sys-libs/uclibc++-0.2.2-r1/work/uClibc++-0.2.2/bin' echo "#!/bin/bash" > g++-uc echo "" >> g++-uc echo 'WRAPPER_INCLUDEDIR="${WRAPPER_INCLUDEDIR:=-I/usr/i686-pc-linux-gnu/include/}"' >> g++-uc echo 'WRAPPER_LIBDIR="${WRAPPER_LIBDIR:=-L/usr/i686-pc-linux-gnu/lib/}"' >> g++-uc echo "" >> g++-uc echo 'WRAPPER_OPTIONS=""' >> g++-uc echo "WRAPPER_LIBS=\" -L/usr/lib/gcc/i686-pc-linux-gnu/4.4.0/ -lc -lgcc -Wl,--as-needed -lgcc_s -Wl,--no-as-needed\"" >> g++-uc echo "" >> g++-uc echo 'WRAPPER_INCLIB="Y"' >> g++-uc echo 'while [ -n "$1" ]' >> g++-uc echo 'do' >> g++-uc echo ' WRAPPER_OPTIONS="$WRAPPER_OPTIONS $1"' >> g++-uc echo ' if [ "$1" = "-c" -o "$1" = "-E" -o "$1" = "-S" ]' >> g++-uc echo ' then' >> g++-uc echo ' WRAPPER_INCLIB="N"' >> g++-uc echo ' fi' >> g++-uc echo ' if [ "$1" == "-static" ]' >> g++-uc echo ' then' >> g++-uc echo " WRAPPER_LIBS=\" -L/usr/lib/gcc/i686-pc-linux-gnu/4.4.0/ -lc -lgcc\"" >> g++-uc echo ' fi' >> g++-uc echo ' shift' >> g++-uc echo 'done' >> g++-uc echo 'if [ "$WRAPPER_INCLIB" == "Y" ]' >> g++-uc echo 'then' >> g++-uc echo ' WRAPPER_OPTIONS="$WRAPPER_OPTIONS -nodefaultlibs $WRAPPER_LIBDIR -luClibc++ $WRAPPER_LIBS"' >> g++-uc echo 'fi' >> g++-uc echo "" >> g++-uc echo 'exec i686-pc-linux-gnu-g++ -fno-builtin -nostdinc++ -DGCC_HASCLASSVISIBILITY $WRAPPER_INCLUDEDIR $WRAPPER_OPTIONS' >> g++-uc chmod 755 g++-uc make[1]: Leaving directory `/var/tmp/portage/sys-libs/uclibc++-0.2.2-r1/work/uClibc++-0.2.2/bin' make[1]: Entering directory `/var/tmp/portage/sys-libs/uclibc++-0.2.2-r1/work/uClibc++-0.2.2/include' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/sys-libs/uclibc++-0.2.2-r1/work/uClibc++-0.2.2/include' make[1]: Entering directory `/var/tmp/portage/sys-libs/uclibc++-0.2.2-r1/work/uClibc++-0.2.2/src' make -C abi/libgcc_eh all make -C abi/libsupc all WRAPPER_INCLUDEDIR=-I../include ../bin/g++-uc -Wall -Wno-trigraphs -pedantic -ansi -O2 -pipe -fPIC -o algorithm.o -c algorithm.cpp WRAPPER_INCLUDEDIR=-I../include ../bin/g++-uc -Wall -Wno-trigraphs -pedantic -ansi -O2 -pipe -fPIC -o associative_base.o -c associative_base.cpp WRAPPER_INCLUDEDIR=-I../include ../bin/g++-uc -Wall -Wno-trigraphs -pedantic -ansi -O2 -pipe -fPIC -o bitset.o -c bitset.cpp WRAPPER_INCLUDEDIR=-I../include ../bin/g++-uc -Wall -Wno-trigraphs -pedantic -ansi -O2 -pipe -fPIC -o char_traits.o -c char_traits.cpp WRAPPER_INCLUDEDIR=-I../include ../bin/g++-uc -Wall -Wno-trigraphs -pedantic -ansi -O2 -pipe -fPIC -o complex.o -c complex.cpp WRAPPER_INCLUDEDIR=-I../include ../bin/g++-uc -Wall -Wno-trigraphs -pedantic -ansi -O2 -pipe -fPIC -o del_op.o -c del_op.cpp WRAPPER_INCLUDEDIR=-I../include ../bin/g++-uc -Wall -Wno-trigraphs -pedantic -ansi -O2 -pipe -fPIC -o del_opnt.o -c del_opnt.cpp WRAPPER_INCLUDEDIR=-I../include ../bin/g++-uc -Wall -Wno-trigraphs -pedantic -ansi -O2 -pipe -fPIC -o del_opv.o -c del_opv.cpp WRAPPER_INCLUDEDIR=-I../include ../bin/g++-uc -Wall -Wno-trigraphs -pedantic -ansi -O2 -pipe -fPIC -o del_opvnt.o -c del_opvnt.cpp WRAPPER_INCLUDEDIR=-I../include ../bin/g++-uc -Wall -Wno-trigraphs -pedantic -ansi -O2 -pipe -fPIC -o deque.o -c deque.cpp WRAPPER_INCLUDEDIR=-I../include ../bin/g++-uc -Wall -Wno-trigraphs -pedantic -ansi -O2 -pipe -fPIC -o eh_alloc.o -c eh_alloc.cpp WRAPPER_INCLUDEDIR=-I../include ../bin/g++-uc -Wall -Wno-trigraphs -pedantic -ansi -O2 -pipe -fPIC -o eh_globals.o -c eh_globals.cpp true -x -R .note -R .comment del_opv.o WRAPPER_INCLUDEDIR=-I../include ../bin/g++-uc -Wall -Wno-trigraphs -pedantic -ansi -O2 -pipe -fPIC -o exception.o -c exception.cpp In file included from eh_globals.cpp:22: ../include/cstring: In function 'void* std::memchr(void*, int, size_t)': ../include/cstring:55: error: 'void* std::memchr(void*, int, size_t)' conflicts with previous using declaration 'void* memchr(void*, int, size_t)' ../include/cstring:56: error: invalid conversion from 'const void*' to 'void*' ../include/cstring: In function 'char* std::strchr(char*, int)': ../include/cstring:59: error: 'char* std::strchr(char*, int)' conflicts with previous using declaration 'char* strchr(char*, int)' ../include/cstring:60: error: invalid conversion from 'const char*' to 'char*' ../include/cstring: In function 'char* std::strpbrk(char*, const char*)': ../include/cstring:63: error: 'char* std::strpbrk(char*, const char*)' conflicts with previous using declaration 'char* strpbrk(char*, const char*)' ../include/cstring:64: error: invalid conversion from 'const char*' to 'char*' ../include/cstring: In function 'char* std::strrchr(char*, int)': ../include/cstring:67: error: 'char* std::strrchr(char*, int)' conflicts with previous using declaration 'char* strrchr(char*, int)' ../include/cstring:68: error: invalid conversion from 'const char*' to 'char*' ../include/cstring: In function 'char* std::strstr(char*, const char*)': ../include/cstring:71: error: 'char* std::strstr(char*, const char*)' conflicts with previous using declaration 'char* strstr(char*, const char*)' ../include/cstring:72: error: invalid conversion from 'const char*' to 'char*' true -x -R .note -R .comment del_op.o true -x -R .note -R .comment char_traits.o true -x -R .note -R .comment del_opnt.o true -x -R .note -R .comment algorithm.o make[1]: *** [eh_globals.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from eh_alloc.cpp:22: ../include/cstring: In function 'void* std::memchr(void*, int, size_t)': ../include/cstring:55: error: 'void* std::memchr(void*, int, size_t)' conflicts with previous using declaration 'void* memchr(void*, int, size_t)' ../include/cstring:56: error: invalid conversion from 'const void*' to 'void*' ../include/cstring: In function 'char* std::strchr(char*, int)': ../include/cstring:59: error: 'char* std::strchr(char*, int)' conflicts with previous using declaration 'char* strchr(char*, int)' ../include/cstring:60: error: invalid conversion from 'const char*' to 'char*' ../include/cstring: In function 'char* std::strpbrk(char*, const char*)': ../include/cstring:63: error: 'char* std::strpbrk(char*, const char*)' conflicts with previous using declaration 'char* strpbrk(char*, const char*)' ../include/cstring:64: error: invalid conversion from 'const char*' to 'char*' ../include/cstring: In function 'char* std::strrchr(char*, int)': ../include/cstring:67: error: 'char* std::strrchr(char*, int)' conflicts with previous using declaration 'char* strrchr(char*, int)' ../include/cstring:68: error: invalid conversion from 'const char*' to 'char*' ../include/cstring: In function 'char* std::strstr(char*, const char*)': ../include/cstring:71: error: 'char* std::strstr(char*, const char*)' conflicts with previous using declaration 'char* strstr(char*, const char*)' ../include/cstring:72: error: invalid conversion from 'const char*' to 'char*' make[1]: *** [eh_alloc.o] Error 1 make[2]: Entering directory `/var/tmp/portage/sys-libs/uclibc++-0.2.2-r1/work/uClibc++-0.2.2/src/abi/libgcc_eh' i686-pc-linux-gnu-ar x /usr/lib/gcc/i686-pc-linux-gnu/4.4.0/libgcc_eh.a true -x -R .note -R .comment del_opvnt.o true -x -R .note -R .comment exception.o make[2]: Leaving directory `/var/tmp/portage/sys-libs/uclibc++-0.2.2-r1/work/uClibc++-0.2.2/src/abi/libgcc_eh' make[2]: Entering directory `/var/tmp/portage/sys-libs/uclibc++-0.2.2-r1/work/uClibc++-0.2.2/src/abi/libsupc' i686-pc-linux-gnu-ar x /usr/lib/gcc/i686-pc-linux-gnu/4.4.0/libsupc++.a In file included from associative_base.cpp:21: ../include/associative_base:321: error: declaration of 'typedef class std::_associative_citer std::_associative_iter::_associative_citer' ../include/associative_base:248: error: changes meaning of '_associative_citer' from 'class std::_associative_citer' make[1]: *** [associative_base.o] Error 1 rm -f -f new_op*.o del_op*.o pure.o new_handler.o eh_alloc.o eh_globals.o make[2]: Leaving directory `/var/tmp/portage/sys-libs/uclibc++-0.2.2-r1/work/uClibc++-0.2.2/src/abi/libsupc' In file included from ../include/bitset:25, from bitset.cpp:21: ../include/string:1020: error: conflicting declaration 'const char* rhs' ../include/string:1020: error: 'rhs' has a previous declaration as 'const std::string& rhs' ../include/string:1020: error: 'bool std::operator==(const std::string&)' must take exactly two arguments ../include/string:1024: error: conflicting declaration 'const char* rhs' ../include/string:1024: error: 'rhs' has a previous declaration as 'const std::string& rhs' ../include/string:1024: error: 'bool std::operator!=(const std::string&)' must take exactly two arguments make[1]: *** [bitset.o] Error 1 In file included from ../include/stdexcept:23, from ../include/deque:23, from deque.cpp:21: ../include/string:1020: error: conflicting declaration 'const char* rhs' ../include/string:1020: error: 'rhs' has a previous declaration as 'const std::string& rhs' ../include/string:1020: error: 'bool std::operator==(const std::string&)' must take exactly two arguments ../include/string:1024: error: conflicting declaration 'const char* rhs' ../include/string:1024: error: 'rhs' has a previous declaration as 'const std::string& rhs' ../include/string:1024: error: 'bool std::operator!=(const std::string&)' must take exactly two arguments make[1]: *** [deque.o] Error 1 In file included from ../include/locale:23, from ../include/ios:23, from ../include/istream:21, from ../include/complex:21, from complex.cpp:20: ../include/string:1020: error: conflicting declaration 'const char* rhs' ../include/string:1020: error: 'rhs' has a previous declaration as 'const std::string& rhs' ../include/string:1020: error: 'bool std::operator==(const std::string&)' must take exactly two arguments ../include/string:1024: error: conflicting declaration 'const char* rhs' ../include/string:1024: error: 'rhs' has a previous declaration as 'const std::string& rhs' ../include/string:1024: error: 'bool std::operator!=(const std::string&)' must take exactly two arguments make[1]: *** [complex.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-libs/uclibc++-0.2.2-r1/work/uClibc++-0.2.2/src' make: *** [all] Error 2 * * ERROR: sys-libs/uclibc++-0.2.2-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2367: Called die * The specific snippet of code: * emake STRIPTOOL="true" OPTIMIZATION="${CXXFLAGS}" CROSS=${CTARGET}- || die "make failed" * The die message: * make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/sys-libs/uclibc++-0.2.2-r1:20090702-141333.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/uclibc++-0.2.2-r1/temp/environment'. *