File qt-4.5.0-no-fpu-functions.patch of Package mingw32-libqt4
--- qt-all-opensource-src-4.5.0/src/corelib/tools/qlocale.cpp 2009-03-10 10:36:01.000000000 +0100
+++ qt-all-opensource-src-4.5.0/src/corelib/tools/qlocale.cpp 2009-03-10 10:38:02.000000000 +0100
@@ -6526,6 +6526,7 @@
Q_CORE_EXPORT char *qdtoa ( double d, int mode, int ndigits, int *decpt, int *sign, char **rve, char **resultp)
{
+#if 0
// Some values of the floating-point control word can cause _qdtoa to crash with an underflow.
// We set a safe value here.
#ifdef Q_OS_WIN
@@ -6545,9 +6546,11 @@
fenv_t envp;
feholdexcept(&envp);
#endif
+#endif
char *s = _qdtoa(d, mode, ndigits, decpt, sign, rve, resultp);
+#if 0
#ifdef Q_OS_WIN
_clear87();
#ifndef _M_X64
@@ -6560,7 +6563,7 @@
#if defined(Q_OS_LINUX) && !defined(__UCLIBC__)
fesetenv(&envp);
#endif
-
+#endif
return s;
}