https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58372
Bitterblue <cantabile.desu at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cantabile.desu at gmail dot com --- Comment #12 from Bitterblue <cantabile.desu at gmail dot com> --- Hi. This bug still exists in GCC 7.3.0. It comes up when cross-compiling Qt 5.10.1 from 64 bit Linux for 32 bit Windows. Well, I assume it's the same bug because of comments seen online. https://github.com/mxe/mxe/issues/2011 https://bugreports.qt.io/browse/QTBUG-64707 The offending function can be seen here: https://github.com/qt/qtbase/blob/6c6ace9d23f90845fd424e474d38fe30f070775e/src/corelib/global/qrandom.cpp#L104 % i686-w64-mingw32-gcc -v Using built-in specs. COLLECT_GCC=i686-w64-mingw32-gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-w64-mingw32/7.3.0/lto-wrapper Target: i686-w64-mingw32 Configured with: /build/mingw-w64-gcc/src/gcc/configure --prefix=/usr --libexecdir=/usr/lib --target=i686-w64-mingw32 --enable-languages=c,lto,c++,objc,obj-c++,fortran,ada --enable-shared --enable-static --enable-threads=posix --enable-fully-dynamic-string --enable-libstdcxx-time=yes --with-system-zlib --enable-cloog-backend=isl --enable-lto --disable-dw2-exceptions --enable-libgomp --disable-multilib --enable-checking=release Thread model: posix gcc version 7.3.0 (GCC) No problem with x86_64-w64-mingw32, of course.