rebuild iconv with: CFLAGS="-march=core2 -O3 -fomit-frame-pointer -fexpensive-optimizations" ./configu re --prefix=/mingw64/x86_64-w64-mingw32 --disable-shared --enable-static