[Development] Requiring minimum GCC 7/MinGW (was: Dropping MinGW support in Qt 6 (Was: HEADS-UP: QStringLiteral))
Simon.Hausmann at qt.io
Fri Aug 23 17:58:09 CEST 2019
I ran into the crash a while ago in the CI. See also https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83562 .
On 23. Aug 2019, at 23:12, Thiago Macieira <thiago.macieira at intel.com<mailto:thiago.macieira at intel.com>> wrote:
On Friday, 23 August 2019 00:12:50 PDT Roland Winklmeier wrote:
Just for your awareness: There is an old bug related to thread_local in
MinGW which afaik was never fixed. It compiles correctly, but every
executable crashes during shutdown. Not sure if this relevant in this case,
just mentioning it:
The description of the bug says "winpthreads", which means it's not MinGW,
libgcc on pure MinGW doesn't use winpthreads, it uses Win32.
Anyway, let's apply Q_THREAD_LOCAL. If that causes GCC-built MinGW
applications to crash on exit, then we stop using GCC and switch to Clang.
Thiago Macieira - thiago.macieira (AT) intel.com<http://intel.com>
Software Architect - Intel System Software Products
Development mailing list
Development at qt-project.org<mailto:Development at qt-project.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Development