Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
5.15.16
-
None
Description
I suppose it's not supported; just recording what happened on current 5.15 lts branch after fixing some issues in qtbase to be able to get this far:
g++ -c -pipe -g -std=c++1y -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -fsanitize=address -fno-omit-frame-pointer -Wall -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Werror -Wno-error=cpp -Wno-error=deprecated-declarations -Wno-error=strict-overflow -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_INTEGER_EVENT_COORDINATES -DQT_NO_FOREACH -DWTF_EXPORT_PRIVATE= -DJS_EXPORT_PRIVATE= -DENABLE_ASSEMBLER_WX_EXCLUSIVE=1 -DWTFReportAssertionFailure=qmlWTFReportAssertionFailure -DWTFReportAssertionFailureWithMessage=qmlWTFReportAssertionFailureWithMessage -DWTFReportBacktrace=qmlWTFReportBacktrace -DWTFInvokeCrashHook=qmlWTFInvokeCrashHook -DENABLE_LLINT=0 -DENABLE_DFG_JIT=0 -DENABLE_DFG_JIT_UTILITY_METHODS=1 -DENABLE_JIT_CONSTANT_BLINDING=0 -DBUILDING_QT__ -DWTF_USE_UDIS86=0 -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QML_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NETWORK_LIB -DQT_CORE_LIB -I/home/rutledge/dev/qt5/qtdeclarative/src/qml -I. -I/home/rutledge/dev/qt5/qtdeclarative/src/qml/memory -I. -I/home/rutledge/dev/qt5/qtdeclarative/src/qml/compiler -I. -I/home/rutledge/dev/qt5/qtdeclarative/src/qml/jsruntime -I. -I/home/rutledge/dev/qt5/qtdeclarative/src/qml/debugger -I/home/rutledge/dev/qt5/qtdeclarative/src/qml/qmldirparser -I. -I/home/rutledge/dev/qt5/qtdeclarative/src/qml/animations -I/home/rutledge/dev/qt5/qtdeclarative/src/3rdparty/masm/jit -I/home/rutledge/dev/qt5/qtdeclarative/src/3rdparty/masm/assembler -I/home/rutledge/dev/qt5/qtdeclarative/src/3rdparty/masm/runtime -I/home/rutledge/dev/qt5/qtdeclarative/src/3rdparty/masm/wtf -I/home/rutledge/dev/qt5/qtdeclarative/src/3rdparty/masm/stubs -I/home/rutledge/dev/qt5/qtdeclarative/src/3rdparty/masm/stubs/runtime -I/home/rutledge/dev/qt5/qtdeclarative/src/3rdparty/masm/stubs/wtf -I/home/rutledge/dev/qt5/qtdeclarative/src/3rdparty/masm -I/home/rutledge/dev/qt5/qtdeclarative/src/3rdparty/masm/disassembler -I/home/rutledge/dev/qt5/qtdeclarative/src/3rdparty/masm/disassembler/udis86 -I/home/rutledge/dev/qt5-asan/qtbase/include -I/home/rutledge/dev/qt5-asan/qtbase/include/QtQml -I/home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12 -I/home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12/QtQml -I.generated -I. -I.tracegen -I/home/rutledge/dev/qt5-asan/qtbase/include/QtCore/5.15.16 -I/home/rutledge/dev/qt5-asan/qtbase/include/QtCore/5.15.16/QtCore -I/home/rutledge/dev/qt5-asan/qtbase/include/QtNetwork -I/home/rutledge/dev/qt5-asan/qtbase/include/QtCore -I.moc -I/home/rutledge/dev/qt5/qtbase/mkspecs/linux-g++ -o .obj/qqmltypecompiler.o /home/rutledge/dev/qt5/qtdeclarative/src/qml/qml/qqmltypecompiler.cpp In file included from /home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12/QtQml/private/inlinecomponentutils_p.h:1:0, from /home/rutledge/dev/qt5/qtdeclarative/src/qml/jsruntime/qv4executablecompilationunit.cpp:56: /home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12/QtQml/private/../../../../../../../qt5/qtdeclarative/src/qml/inlinecomponentutils_p.h: In instantiation of ‘struct icutils::fillAdjacencyListForInlineComponents(ObjectContainer*, icutils::AdjacencyList&, std::vector<icutils::Node>&, const std::vector<InlineComponent>&)::<lambda(QV4::ResolvedTypeReference*)> [with ObjectContainer = QV4::ExecutableCompilationUnit; InlineComponent = QV4::CompiledData::InlineComponent]::<lambda(const struct QV4::CompiledData::InlineComponent&)>’: /home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12/QtQml/private/../../../../../../../qt5/qtdeclarative/src/qml/inlinecomponentutils_p.h:107:45: required from ‘icutils::fillAdjacencyListForInlineComponents(ObjectContainer*, icutils::AdjacencyList&, std::vector<icutils::Node>&, const std::vector<InlineComponent>&)::<lambda(QV4::ResolvedTypeReference*)> [with ObjectContainer = QV4::ExecutableCompilationUnit; InlineComponent = QV4::CompiledData::InlineComponent]’ /home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12/QtQml/private/../../../../../../../qt5/qtdeclarative/src/qml/inlinecomponentutils_p.h:112:21: required from ‘struct icutils::fillAdjacencyListForInlineComponents(ObjectContainer*, icutils::AdjacencyList&, std::vector<icutils::Node>&, const std::vector<InlineComponent>&) [with ObjectContainer = QV4::ExecutableCompilationUnit; InlineComponent = QV4::CompiledData::InlineComponent; icutils::AdjacencyList = std::vector<std::vector<icutils::Node*> >]::<lambda(struct QV4::ResolvedTypeReference*)>’ /home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12/QtQml/private/../../../../../../../qt5/qtdeclarative/src/qml/inlinecomponentutils_p.h:115:9: required from ‘void icutils::fillAdjacencyListForInlineComponents(ObjectContainer*, icutils::AdjacencyList&, std::vector<icutils::Node>&, const std::vector<InlineComponent>&) [with ObjectContainer = QV4::ExecutableCompilationUnit; InlineComponent = QV4::CompiledData::InlineComponent; icutils::AdjacencyList = std::vector<std::vector<icutils::Node*> >]’ /home/rutledge/dev/qt5/qtdeclarative/src/qml/jsruntime/qv4executablecompilationunit.cpp:416:76: required from here /home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12/QtQml/private/../../../../../../../qt5/qtdeclarative/src/qml/inlinecomponentutils_p.h:107:80: error: ‘icutils::fillAdjacencyListForInlineComponents(ObjectContainer*, icutils::AdjacencyList&, std::vector<icutils::Node>&, const std::vector<InlineComponent>&)::<lambda(QV4::ResolvedTypeReference*)> [with ObjectContainer = QV4::ExecutableCompilationUnit; InlineComponent = QV4::CompiledData::InlineComponent]::<lambda(const QV4::CompiledData::InlineComponent&)>’ declared with greater visibility than the type of its field ‘icutils::fillAdjacencyListForInlineComponents(ObjectContainer*, icutils::AdjacencyList&, std::vector<icutils::Node>&, const std::vector<InlineComponent>&)::<lambda(QV4::ResolvedTypeReference*)> [with ObjectContainer = QV4::ExecutableCompilationUnit; InlineComponent = QV4::CompiledData::InlineComponent]::<lambda(const QV4::CompiledData::InlineComponent&)>::<targetTypeRef capture>’ [-Werror=attributes] auto icIt = std::find_if(allICs.cbegin(), allICs.cend(), [&](const QV4::CompiledData::InlineComponent &icSearched){ ^ cc1plus: all warnings being treated as errors Makefile:51874: recipe for target '.obj/qv4executablecompilationunit.o' failed make[3]: *** [.obj/qv4executablecompilationunit.o] Error 1 In file included from /home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12/QtQml/private/inlinecomponentutils_p.h:1:0, from /home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12/QtQml/private/../../../../../../../qt5/qtdeclarative/src/qml/qml/qqmlpropertycachecreator_p.h:58, from /home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12/QtQml/private/qqmlpropertycachecreator_p.h:1, from /home/rutledge/dev/qt5/qtdeclarative/src/qml/qml/qqmltypecompiler_p.h:58, from /home/rutledge/dev/qt5/qtdeclarative/src/qml/qml/qqmltypecompiler.cpp:40: /home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12/QtQml/private/../../../../../../../qt5/qtdeclarative/src/qml/inlinecomponentutils_p.h: In instantiation of ‘struct icutils::fillAdjacencyListForInlineComponents(ObjectContainer*, icutils::AdjacencyList&, std::vector<icutils::Node>&, const std::vector<InlineComponent>&)::<lambda(QV4::ResolvedTypeReference*)> [with ObjectContainer = const QQmlTypeCompiler; InlineComponent = QmlIR::InlineComponent]::<lambda(const struct QV4::CompiledData::InlineComponent&)>’: /home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12/QtQml/private/../../../../../../../qt5/qtdeclarative/src/qml/inlinecomponentutils_p.h:107:45: required from ‘icutils::fillAdjacencyListForInlineComponents(ObjectContainer*, icutils::AdjacencyList&, std::vector<icutils::Node>&, const std::vector<InlineComponent>&)::<lambda(QV4::ResolvedTypeReference*)> [with ObjectContainer = const QQmlTypeCompiler; InlineComponent = QmlIR::InlineComponent]’ /home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12/QtQml/private/../../../../../../../qt5/qtdeclarative/src/qml/inlinecomponentutils_p.h:112:21: required from ‘struct icutils::fillAdjacencyListForInlineComponents(ObjectContainer*, icutils::AdjacencyList&, std::vector<icutils::Node>&, const std::vector<InlineComponent>&) [with ObjectContainer = const QQmlTypeCompiler; InlineComponent = QmlIR::InlineComponent; icutils::AdjacencyList = std::vector<std::vector<icutils::Node*> >]::<lambda(struct QV4::ResolvedTypeReference*)>’ /home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12/QtQml/private/../../../../../../../qt5/qtdeclarative/src/qml/inlinecomponentutils_p.h:115:9: required from ‘void icutils::fillAdjacencyListForInlineComponents(ObjectContainer*, icutils::AdjacencyList&, std::vector<icutils::Node>&, const std::vector<InlineComponent>&) [with ObjectContainer = const QQmlTypeCompiler; InlineComponent = QmlIR::InlineComponent; icutils::AdjacencyList = std::vector<std::vector<icutils::Node*> >]’ /home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12/QtQml/private/../../../../../../../qt5/qtdeclarative/src/qml/qml/qqmlpropertycachecreator_p.h:186:41: required from ‘QQmlError QQmlPropertyCacheCreator<T>::buildMetaObjects() [with ObjectContainer = QQmlTypeCompiler]’ /home/rutledge/dev/qt5/qtdeclarative/src/qml/qml/qqmltypecompiler.cpp:85:65: required from here /home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12/QtQml/private/../../../../../../../qt5/qtdeclarative/src/qml/inlinecomponentutils_p.h:107:80: error: ‘icutils::fillAdjacencyListForInlineComponents(ObjectContainer*, icutils::AdjacencyList&, std::vector<icutils::Node>&, const std::vector<InlineComponent>&)::<lambda(QV4::ResolvedTypeReference*)> [with ObjectContainer = const QQmlTypeCompiler; InlineComponent = QmlIR::InlineComponent]::<lambda(const QV4::CompiledData::InlineComponent&)>’ declared with greater visibility than the type of its field ‘icutils::fillAdjacencyListForInlineComponents(ObjectContainer*, icutils::AdjacencyList&, std::vector<icutils::Node>&, const std::vector<InlineComponent>&)::<lambda(QV4::ResolvedTypeReference*)> [with ObjectContainer = const QQmlTypeCompiler; InlineComponent = QmlIR::InlineComponent]::<lambda(const QV4::CompiledData::InlineComponent&)>::<targetTypeRef capture>’ [-Werror=attributes] auto icIt = std::find_if(allICs.cbegin(), allICs.cend(), [&](const QV4::CompiledData::InlineComponent &icSearched){ ^ cc1plus: all warnings being treated as errors Makefile:77672: recipe for target '.obj/qqmltypecompiler.o' failed make[3]: *** [.obj/qqmltypecompiler.o] Error 1 In file included from /home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12/QtQml/private/inlinecomponentutils_p.h:1:0, from /home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12/QtQml/private/../../../../../../../qt5/qtdeclarative/src/qml/qml/qqmlpropertycachecreator_p.h:58, from /home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12/QtQml/private/qqmlpropertycachecreator_p.h:1, from /home/rutledge/dev/qt5/qtdeclarative/src/qml/qml/qqmltypedata.cpp:42: /home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12/QtQml/private/../../../../../../../qt5/qtdeclarative/src/qml/inlinecomponentutils_p.h: In instantiation of ‘struct icutils::fillAdjacencyListForInlineComponents(ObjectContainer*, icutils::AdjacencyList&, std::vector<icutils::Node>&, const std::vector<InlineComponent>&)::<lambda(QV4::ResolvedTypeReference*)> [with ObjectContainer = const QV4::ExecutableCompilationUnit; InlineComponent = QV4::CompiledData::InlineComponent]::<lambda(const struct QV4::CompiledData::InlineComponent&)>’: /home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12/QtQml/private/../../../../../../../qt5/qtdeclarative/src/qml/inlinecomponentutils_p.h:107:45: required from ‘icutils::fillAdjacencyListForInlineComponents(ObjectContainer*, icutils::AdjacencyList&, std::vector<icutils::Node>&, const std::vector<InlineComponent>&)::<lambda(QV4::ResolvedTypeReference*)> [with ObjectContainer = const QV4::ExecutableCompilationUnit; InlineComponent = QV4::CompiledData::InlineComponent]’ /home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12/QtQml/private/../../../../../../../qt5/qtdeclarative/src/qml/inlinecomponentutils_p.h:112:21: required from ‘struct icutils::fillAdjacencyListForInlineComponents(ObjectContainer*, icutils::AdjacencyList&, std::vector<icutils::Node>&, const std::vector<InlineComponent>&) [with ObjectContainer = const QV4::ExecutableCompilationUnit; InlineComponent = QV4::CompiledData::InlineComponent; icutils::AdjacencyList = std::vector<std::vector<icutils::Node*> >]::<lambda(struct QV4::ResolvedTypeReference*)>’ /home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12/QtQml/private/../../../../../../../qt5/qtdeclarative/src/qml/inlinecomponentutils_p.h:115:9: required from ‘void icutils::fillAdjacencyListForInlineComponents(ObjectContainer*, icutils::AdjacencyList&, std::vector<icutils::Node>&, const std::vector<InlineComponent>&) [with ObjectContainer = const QV4::ExecutableCompilationUnit; InlineComponent = QV4::CompiledData::InlineComponent; icutils::AdjacencyList = std::vector<std::vector<icutils::Node*> >]’ /home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12/QtQml/private/../../../../../../../qt5/qtdeclarative/src/qml/qml/qqmlpropertycachecreator_p.h:186:41: required from ‘QQmlError QQmlPropertyCacheCreator<T>::buildMetaObjects() [with ObjectContainer = QV4::ExecutableCompilationUnit]’ /home/rutledge/dev/qt5/qtdeclarative/src/qml/qml/qqmltypedata.cpp:241:65: required from here /home/rutledge/dev/qt5-asan/qtbase/include/QtQml/5.15.12/QtQml/private/../../../../../../../qt5/qtdeclarative/src/qml/inlinecomponentutils_p.h:107:80: error: ‘icutils::fillAdjacencyListForInlineComponents(ObjectContainer*, icutils::AdjacencyList&, std::vector<icutils::Node>&, const std::vector<InlineComponent>&)::<lambda(QV4::ResolvedTypeReference*)> [with ObjectContainer = const QV4::ExecutableCompilationUnit; InlineComponent = QV4::CompiledData::InlineComponent]::<lambda(const QV4::CompiledData::InlineComponent&)>’ declared with greater visibility than the type of its field ‘icutils::fillAdjacencyListForInlineComponents(ObjectContainer*, icutils::AdjacencyList&, std::vector<icutils::Node>&, const std::vector<InlineComponent>&)::<lambda(QV4::ResolvedTypeReference*)> [with ObjectContainer = const QV4::ExecutableCompilationUnit; InlineComponent = QV4::CompiledData::InlineComponent]::<lambda(const QV4::CompiledData::InlineComponent&)>::<targetTypeRef capture>’ [-Werror=attributes] auto icIt = std::find_if(allICs.cbegin(), allICs.cend(), [&](const QV4::CompiledData::InlineComponent &icSearched){ ^ cc1plus: all warnings being treated as errors