Hi. Make sure that the configure summary shown at the end mentions that tsan is enabled. Search for sanitizer.
I think the right configure line is ../qt6/configure -developer-build -opensource -nomake examples -nomake tests -sanitize thread ________________________________________ From: Interest <interest-boun...@qt-project.org> on behalf of Dennis Luehring <dl.so...@gmx.net> Sent: Saturday, November 5, 2022 7:35 AM To: interest@qt-project.org Subject: Re: [Interest] TSAN findings in a simple QApplication/QMetaObject::invokeMethod example Am 03.11.2022 um 23:09 schrieb Thiago Macieira: > On Thursday, 3 November 2022 11:09:48 PDT Dennis Luehring wrote: > > do you know a good howto for building Qt 6.4 on Fedora 36 or Ubnuntu > > 22.04 with TSAN? > > Pass -DFEATURE_sanitize_thread=ON to cmake or -sanitize thread if you're using > the configure script. > > The vast majority of those findings appear to come from Glib. Most likely, > TSan > is unable to make heads or tails of what's going on. Fortunately, for that > one, you can simply do an > export QT_NO_GLIB=1 > and have Qt use its own event loop, which should improve the results. doesn't help - same amount of warnings i've double checked that my example is using my source built of Qt 6.4 my example executable shows a libtsan realtion with ldd but not in libQt6Core.so and other qt libs in my build qtbase/libs directory - is that correct? _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest