"libstdc++-v3/include/ext/codecvt_specializations.h" uses iconv_t and causes errors while building an i686-pc-linux-gnu to i686-pc-mingw32 cross-compiler. (I'm at trunk revision 115196.)
Strangely however, this does not cause a build failure and is therefore not catastrophic for this target. GCC was configured as: $GCC_SRC_DIR/configure --prefix=$PREFIX \ --with-sysroot="$SYSROOT" --with-build-sysroot="$SYSROOT" \ --target=$TARGET --host=$HOST --build=$BUILD \ --enable-languages=c,c++,java \ --with-gnu-as --with-gnu-ld \ --disable-nls --disable-debug --disable-shared --disable-checking \ --enable-threads=win32 --disable-win32-registry --enable-sjlj-exceptions \ --enable-libgcj I will attach the part of the build log that shows this error. -- Summary: iconv-related errors while building a cross-compiler for MinGW Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rmathew at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-mingw32 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28265