Dennis,

I don’t know but this is what happens. Look in the second line the bolded part:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
 -c -pipe -stdlib=libc++ -O2 -std=gnu++1z  -arch arm64 -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk
 -mmacosx-version-min=11.0 -fsanitize=thread -fno-omit-frame-pointer -

My problem is that on desktop this deadlock is not reproducible. It happens 
mostly on iOS and apparently the sanitiser is not available for iOS:

clang: error: unsupported option '-fsanitize=thread' for target 
'arm64-apple-darwin23.4.0’

Does anyone have alternatives?

Thank you in advance!

Best,

Nuno

> On 19 Jul 2024, at 09:50, Dennis Luehring <dl.so...@gmx.net> wrote:
> 
> Am 19.07.2024 um 10:46 schrieb Nuno Santos:
>> Apparently, compiling Qt with -sanitize thread automatically applies to the 
>> applications as well.
>> 
>> I have checked the compile output and it was being applied already.
> 
> how should that happen? only if your application is part of Qt build itself
> and you're application isn't instrumented of not directly build TSAN

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to