Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.6.3
-
None
Description
There are linking errors when you try to configure and build Qt top-level build on Windows with enabled ASAN (with "-sanitize address").
I use the following configure options:
configure.bat -top-level -debug-and-release -schannel -no-dbus -no-sql-odbc -sanitize address -force-debug-info -shared -no-openssl -sql-sqlite -qt-sqlite -qt-zlib -qt-libpng -qt-libjpeg -webengine-proprietary-codecs -skip qt3d -skip qt5compat -skip qtactiveqt -skip qtcharts -skip qtcoap -skip qtconnectivity -skip qtdatavis3d -skip qtdoc -skip qtgraphs -skip qtgrpc -skip qthttpserver -skip qtlanguageserver -skip qtlocation -skip qtlottie -skip qtmqtt -skip qtnetworkauth -skip qtopcua -skip qtpositioning -skip qtquick3d -skip qtquick3dphysics -skip qtquickeffectmaker -skip qtquicktimeline -skip qtremoteobjects -skip qtsensors -skip qtserialbus -skip qtserialport -skip qtspeech -skip qtsvg -skip qttranslations -skip qtvirtualkeyboard -skip qtwayland -skip qtwebview -prefix "D:\out_x64\Qt\qt_bin_6.6.3"
And as a result we get a bunch of linker errors, like :
[2024-05-17T22:15:46.009Z] accessibility_tree_formatter_qt.obj : error LNK2038: mismatch detected for 'annotate_string': value '0' doesn't match value '1' in mocs_compilation_Debug.cpp.obj [2024-05-17T22:15:46.009Z] accessibility_tree_formatter_qt.obj : error LNK2038: mismatch detected for 'annotate_vector': value '0' doesn't match value '1' in mocs_compilation_Debug.cpp.obj [2024-05-17T22:15:46.009Z] browser_accessibility_qt.obj : error LNK2038: mismatch detected for 'annotate_string': value '0' doesn't match value '1' in mocs_compilation_Debug.cpp.obj [2024-05-17T22:15:46.009Z] browser_accessibility_qt.obj : error LNK2038: mismatch detected for 'annotate_vector': value '0' doesn't match value '1' in mocs_compilation_Debug.cpp.obj [2024-05-17T22:15:46.009Z] authentication_dialog_controller.obj : error LNK2038: mismatch detected for 'annotate_string': value '0' doesn't match value '1' in mocs_compilation_Debug.cpp.obj [2024-05-17T22:15:46.009Z] authentication_dialog_controller.obj : error LNK2038: mismatch detected for 'annotate_vector': value '0' doesn't match value '1' in mocs_compilation_Debug.cpp.obj ... [2024-05-17T22:20:38.130Z] qtbase\bin\Qt6WebEngineCore.dll : fatal error LNK1319: 25288 mismatches detected
See full build log buildLog.txt