Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
6.8.2
-
None
Description
When building 6.8.2 from source using clang11 on Debian11, the build stops with the following output:
Console output:
Start build [331/4881] Building CXX object qtbase/src/tools/moc/CMakeFiles/moc.dir/Release/moc.cpp.o FAILED: /usr/bin/clang++-11 -DQT_BOOTSTRAPPED -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_LEAN_HEADERS=1 -DQT_MOC -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QASCONST -DQT_NO_QEXCHANGE -DQT_NO_QPAIR -DQT_NO_QSNPRINTF -DQT_USE_NODISCARD_FILE_OPEN -DQT_USE_QSTRINGBUILDER -DQT_VERSION_MAJOR=6 -DQT_VERSION_MINOR=8 -DQT_VERSION_PATCH=2 -DQT_VERSION_STR=\"6.8.2\" -D_GLIBCXX_ASSERTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DCMAKE_INTDIR=\"Release\" -Iqtbase/src/tools/moc -Iqtbase/src/tools/moc/../../3rdparty/tinycbor/src -Iqtbase/src/tools/moc/../shared -Iqtbase/mkspecs/linux-clang -Iqtbase/include -Iqtbase/src/corelib/Core_autogen/include_Release -Iqtbase/include/QtCore -Iqtbase/src/corelib -Iqtbase/src/corelib/global -Iqtbase/src/corelib/kernel -Iqtbase/src/corelib/../3rdparty/tinycbor/src -Iqtbase/include/QtCore/6.8.2 -Iqtbase/include/QtCore/6.8.2/QtCore -Iqtbase/src/corelib/../3rdparty/double-conversion/double-conversion -Iqtbase/src/corelib/../3rdparty/double-conversion -Iqtbase/src/corelib/../3rdparty/forkfd -Iqtbase/src/corelib/.rcc -Iqtbase/include/QtZlib -Iqtbase/src/3rdparty/zlib -Iqtbase/src/3rdparty/pcre2/src -Iqtbase/src/tools/bootstrap/../../corelib/global -Iqtbase/src/tools/bootstrap/../../3rdparty/pcre2/src -DNDEBUG -O2 -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -U_FORTIFY_SOURCE -fcf-protection=full -D_FORTIFY_SOURCE=2 -ftrivial-auto-var-init=pattern -fstack-protector-strong -ffunction-sections -fdata-sections -std=c++17 -MD -MT qtbase/src/tools/moc/CMakeFiles/moc.dir/Release/moc.cpp.o -MF qtbase/src/tools/moc/CMakeFiles/moc.dir/Release/moc.cpp.o.d -o qtbase/src/tools/moc/CMakeFiles/moc.dir/Release/moc.cpp.o -c qtbase/src/tools/moc/moc.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++-11 -DQT_BOOTSTRAPPED -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_LEAN_HEADERS=1 -DQT_MOC -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QASCONST -DQT_NO_QEXCHANGE -DQT_NO_QPAIR -DQT_NO_QSNPRINTF -DQT_USE_NODISCARD_FILE_OPEN -DQT_USE_QSTRINGBUILDER -DQT_VERSION_MAJOR=6 -DQT_VERSION_MINOR=8 -DQT_VERSION_PATCH=2 -DQT_VERSION_STR="6.8.2" -D_GLIBCXX_ASSERTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DCMAKE_INTDIR="Release" -Iqtbase/src/tools/moc -Iqtbase/src/tools/moc/../../3rdparty/tinycbor/src -Iqtbase/src/tools/moc/../shared -Iqtbase/mkspecs/linux-clang -Iqtbase/include -Iqtbase/src/corelib/Core_autogen/include_Release -Iqtbase/include/QtCore -Iqtbase/src/corelib -Iqtbase/src/corelib/global -Iqtbase/src/corelib/kernel -Iqtbase/src/corelib/../3rdparty/tinycbor/src -Iqtbase/include/QtCore/6.8.2 -Iqtbase/include/QtCore/6.8.2/QtCore -Iqtbase/src/corelib/../3rdparty/double-conversion/double-conversion -Iqtbase/src/corelib/../3rdparty/double-conversion -Iqtbase/src/corelib/../3rdparty/forkfd -Iqtbase/src/corelib/.rcc -Iqtbase/include/QtZlib -Iqtbase/src/3rdparty/zlib -Iqtbase/src/3rdparty/pcre2/src -Iqtbase/src/tools/bootstrap/../../corelib/global -Iqtbase/src/tools/bootstrap/../../3rdparty/pcre2/src -DNDEBUG -O2 -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -U_FORTIFY_SOURCE -fcf-protection=full -D_FORTIFY_SOURCE=2 -ftrivial-auto-var-init=pattern -fstack-protector-strong -ffunction-sections -fdata-sections -std=c++17 -MD -MT qtbase/src/tools/moc/CMakeFiles/moc.dir/Release/moc.cpp.o -MF qtbase/src/tools/moc/CMakeFiles/moc.dir/Release/moc.cpp.o.d -o qtbase/src/tools/moc/CMakeFiles/moc.dir/Release/moc.cpp.o -c qtbase/src/tools/moc/moc.cpp 1. /home/rk/Workspace/work/ExternalLibs/ExternalLibs/Qt/6.8.2+A/Build/qt-everywhere-src-6.8.2/qtbase/src/corelib/tools/qmap.h:809:2: current parser token ';' 2. /home/rk/Workspace/work/ExternalLibs/ExternalLibs/Qt/6.8.2+A/Build/qt-everywhere-src-6.8.2/qtbase/src/corelib/tools/qmap.h:187:1: parsing struct/union/class body 'QMap' /lib/x86_64-linux-gnu/libLLVM-11.so.1(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamE+0x1f)[0x7faf8d21bf8f] /lib/x86_64-linux-gnu/libLLVM-11.so.1(_ZN4llvm3sys17RunSignalHandlersEv+0x50)[0x7faf8d21a2f0] /lib/x86_64-linux-gnu/libLLVM-11.so.1(_ZN4llvm3sys15CleanupOnSignalEm+0xdd)[0x7faf8d21b6dd] /lib/x86_64-linux-gnu/libLLVM-11.so.1(+0xb14dc0)[0x7faf8d15fdc0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x13140)[0x7faf943f3140] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang6Parser27ParseLexedMethodDeclarationERNS0_27LateParsedMethodDeclarationE+0x638)[0x7faf92123d38] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang6Parser28ParseLexedMethodDeclarationsERNS0_12ParsingClassE+0x3a)[0x7faf9212338a] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang6Parser27ParseCXXMemberSpecificationENS_14SourceLocationES1_RNS0_25ParsedAttributesWithRangeEjPNS_4DeclE+0x9a4)[0x7faf9214c2e4] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang6Parser19ParseClassSpecifierENS_3tok9TokenKindENS_14SourceLocationERNS_8DeclSpecERKNS0_18ParsedTemplateInfoENS_15AccessSpecifierEbNS0_15DeclSpecContextERNS0_25ParsedAttributesWithRangeE+0x136d)[0x7faf92149dbd] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang6Parser26ParseDeclarationSpecifiersERNS_8DeclSpecERKNS0_18ParsedTemplateInfoENS_15AccessSpecifierENS0_15DeclSpecContextEPNS0_18LateParsedAttrListE+0x3cd)[0x7faf9212eebd] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang6Parser35ParseSingleDeclarationAfterTemplateENS_17DeclaratorContextERKNS0_18ParsedTemplateInfoERNS_21ParsingDeclRAIIObjectERNS_14SourceLocationERNS_16ParsedAttributesENS_15AccessSpecifierE+0x336)[0x7faf921b11a6] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang6Parser40ParseTemplateDeclarationOrSpecializationENS_17DeclaratorContextERNS_14SourceLocationERNS_16ParsedAttributesENS_15AccessSpecifierE+0x488)[0x7faf921b0808] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang6Parser36ParseDeclarationStartingWithTemplateENS_17DeclaratorContextERNS_14SourceLocationERNS_16ParsedAttributesENS_15AccessSpecifierE+0xe4)[0x7faf921b0224] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang6Parser16ParseDeclarationENS_17DeclaratorContextERNS_14SourceLocationERNS0_25ParsedAttributesWithRangeEPS2_+0x293)[0x7faf9212e4d3] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang6Parser24ParseExternalDeclarationERNS0_25ParsedAttributesWithRangeEPNS_15ParsingDeclSpecE+0x1ef)[0x7faf921bee8f] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang6Parser17ParseTopLevelDeclERNS_9OpaquePtrINS_12DeclGroupRefEEEb+0x4eb)[0x7faf921bdc9b] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang8ParseASTERNS_4SemaEbb+0x1fd)[0x7faf921206ed] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang14FrontendAction7ExecuteEv+0x48)[0x7faf936ec0c8] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang16CompilerInstance13ExecuteActionERNS_14FrontendActionE+0x861)[0x7faf936a2641] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0x5e0)[0x7faf93752200] /usr/bin/clang++-11(_Z8cc1_mainN4llvm8ArrayRefIPKcEES2_Pv+0x94f)[0x4131bf] /usr/bin/clang++-11[0x4115fe] /lib/x86_64-linux-gnu/libclang-cpp.so.11(+0x1c8c732)[0x7faf933d5732] /lib/x86_64-linux-gnu/libLLVM-11.so.1(_ZN4llvm20CrashRecoveryContext9RunSafelyENS_12function_refIFvvEEE+0xdd)[0x7faf8d15fbcd] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZNK5clang6driver10CC1Command7ExecuteEN4llvm8ArrayRefINS2_8OptionalINS2_9StringRefEEEEEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPb+0x13f)[0x7faf933d4c5f] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZNK5clang6driver11Compilation14ExecuteCommandERKNS0_7CommandERPS3_+0x2df)[0x7faf933aca7f] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZNK5clang6driver11Compilation11ExecuteJobsERKNS0_7JobListERN4llvm15SmallVectorImplISt4pairIiPKNS0_7CommandEEEE+0x77)[0x7faf933acc27] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang6driver6Driver18ExecuteCompilationERNS0_11CompilationERN4llvm15SmallVectorImplISt4pairIiPKNS0_7CommandEEEE+0xdc)[0x7faf933c078c] /usr/bin/clang++-11(main+0x2533)[0x4110a3] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7faf8c16dd7a] /usr/bin/clang++-11(_start+0x2a)[0x40e89a] clang: error: clang frontend command failed due to signal (use -v to see invocation) Debian clang version 11.0.1-2 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin clang: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /tmp/moc-7533fb.cpp clang: note: diagnostic msg: /tmp/moc-7533fb.sh clang: note: diagnostic msg: ******************** [331/4881] Building CXX object qtbase/src/tools/moc/CMakeFiles/moc.dir/Release/generator.cpp.o FAILED: /usr/bin/clang++-11 -DQT_BOOTSTRAPPED -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_LEAN_HEADERS=1 -DQT_MOC -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QASCONST -DQT_NO_QEXCHANGE -DQT_NO_QPAIR -DQT_NO_QSNPRINTF -DQT_USE_NODISCARD_FILE_OPEN -DQT_USE_QSTRINGBUILDER -DQT_VERSION_MAJOR=6 -DQT_VERSION_MINOR=8 -DQT_VERSION_PATCH=2 -DQT_VERSION_STR=\"6.8.2\" -D_GLIBCXX_ASSERTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DCMAKE_INTDIR=\"Release\" -Iqtbase/src/tools/moc -Iqtbase/src/tools/moc/../../3rdparty/tinycbor/src -Iqtbase/src/tools/moc/../shared -Iqtbase/mkspecs/linux-clang -Iqtbase/include -Iqtbase/src/corelib/Core_autogen/include_Release -Iqtbase/include/QtCore -Iqtbase/src/corelib -Iqtbase/src/corelib/global -Iqtbase/src/corelib/kernel -Iqtbase/src/corelib/../3rdparty/tinycbor/src -Iqtbase/include/QtCore/6.8.2 -Iqtbase/include/QtCore/6.8.2/QtCore -Iqtbase/src/corelib/../3rdparty/double-conversion/double-conversion -Iqtbase/src/corelib/../3rdparty/double-conversion -Iqtbase/src/corelib/../3rdparty/forkfd -Iqtbase/src/corelib/.rcc -Iqtbase/include/QtZlib -Iqtbase/src/3rdparty/zlib -Iqtbase/src/3rdparty/pcre2/src -Iqtbase/src/tools/bootstrap/../../corelib/global -Iqtbase/src/tools/bootstrap/../../3rdparty/pcre2/src -DNDEBUG -O2 -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -U_FORTIFY_SOURCE -fcf-protection=full -D_FORTIFY_SOURCE=2 -ftrivial-auto-var-init=pattern -fstack-protector-strong -ffunction-sections -fdata-sections -std=c++17 -MD -MT qtbase/src/tools/moc/CMakeFiles/moc.dir/Release/generator.cpp.o -MF qtbase/src/tools/moc/CMakeFiles/moc.dir/Release/generator.cpp.o.d -o qtbase/src/tools/moc/CMakeFiles/moc.dir/Release/generator.cpp.o -c qtbase/src/tools/moc/generator.cpp PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /usr/bin/clang++-11 -DQT_BOOTSTRAPPED -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_LEAN_HEADERS=1 -DQT_MOC -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QASCONST -DQT_NO_QEXCHANGE -DQT_NO_QPAIR -DQT_NO_QSNPRINTF -DQT_USE_NODISCARD_FILE_OPEN -DQT_USE_QSTRINGBUILDER -DQT_VERSION_MAJOR=6 -DQT_VERSION_MINOR=8 -DQT_VERSION_PATCH=2 -DQT_VERSION_STR="6.8.2" -D_GLIBCXX_ASSERTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DCMAKE_INTDIR="Release" -Iqtbase/src/tools/moc -Iqtbase/src/tools/moc/../../3rdparty/tinycbor/src -Iqtbase/src/tools/moc/../shared -Iqtbase/mkspecs/linux-clang -Iqtbase/include -Iqtbase/src/corelib/Core_autogen/include_Release -Iqtbase/include/QtCore -Iqtbase/src/corelib -Iqtbase/src/corelib/global -Iqtbase/src/corelib/kernel -Iqtbase/src/corelib/../3rdparty/tinycbor/src -Iqtbase/include/QtCore/6.8.2 -Iqtbase/include/QtCore/6.8.2/QtCore -Iqtbase/src/corelib/../3rdparty/double-conversion/double-conversion -Iqtbase/src/corelib/../3rdparty/double-conversion -Iqtbase/src/corelib/../3rdparty/forkfd -Iqtbase/src/corelib/.rcc -Iqtbase/include/QtZlib -Iqtbase/src/3rdparty/zlib -Iqtbase/src/3rdparty/pcre2/src -Iqtbase/src/tools/bootstrap/../../corelib/global -Iqtbase/src/tools/bootstrap/../../3rdparty/pcre2/src -DNDEBUG -O2 -fPIE -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -U_FORTIFY_SOURCE -fcf-protection=full -D_FORTIFY_SOURCE=2 -ftrivial-auto-var-init=pattern -fstack-protector-strong -ffunction-sections -fdata-sections -std=c++17 -MD -MT qtbase/src/tools/moc/CMakeFiles/moc.dir/Release/generator.cpp.o -MF qtbase/src/tools/moc/CMakeFiles/moc.dir/Release/generator.cpp.o.d -o qtbase/src/tools/moc/CMakeFiles/moc.dir/Release/generator.cpp.o -c qtbase/src/tools/moc/generator.cpp 1. /home/rk/Workspace/work/ExternalLibs/ExternalLibs/Qt/6.8.2+A/Build/qt-everywhere-src-6.8.2/qtbase/src/corelib/tools/qmap.h:809:2: current parser token ';' 2. /home/rk/Workspace/work/ExternalLibs/ExternalLibs/Qt/6.8.2+A/Build/qt-everywhere-src-6.8.2/qtbase/src/corelib/tools/qmap.h:187:1: parsing struct/union/class body 'QMap' /lib/x86_64-linux-gnu/libLLVM-11.so.1(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamE+0x1f)[0x7f031c006f8f] /lib/x86_64-linux-gnu/libLLVM-11.so.1(_ZN4llvm3sys17RunSignalHandlersEv+0x50)[0x7f031c0052f0] /lib/x86_64-linux-gnu/libLLVM-11.so.1(_ZN4llvm3sys15CleanupOnSignalEm+0xdd)[0x7f031c0066dd] /lib/x86_64-linux-gnu/libLLVM-11.so.1(+0xb14dc0)[0x7f031bf4adc0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x13140)[0x7f03231de140] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang6Parser27ParseLexedMethodDeclarationERNS0_27LateParsedMethodDeclarationE+0x638)[0x7f0320f0ed38] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang6Parser28ParseLexedMethodDeclarationsERNS0_12ParsingClassE+0x3a)[0x7f0320f0e38a] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang6Parser27ParseCXXMemberSpecificationENS_14SourceLocationES1_RNS0_25ParsedAttributesWithRangeEjPNS_4DeclE+0x9a4)[0x7f0320f372e4] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang6Parser19ParseClassSpecifierENS_3tok9TokenKindENS_14SourceLocationERNS_8DeclSpecERKNS0_18ParsedTemplateInfoENS_15AccessSpecifierEbNS0_15DeclSpecContextERNS0_25ParsedAttributesWithRangeE+0x136d)[0x7f0320f34dbd] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang6Parser26ParseDeclarationSpecifiersERNS_8DeclSpecERKNS0_18ParsedTemplateInfoENS_15AccessSpecifierENS0_15DeclSpecContextEPNS0_18LateParsedAttrListE+0x3cd)[0x7f0320f19ebd] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang6Parser35ParseSingleDeclarationAfterTemplateENS_17DeclaratorContextERKNS0_18ParsedTemplateInfoERNS_21ParsingDeclRAIIObjectERNS_14SourceLocationERNS_16ParsedAttributesENS_15AccessSpecifierE+0x336)[0x7f0320f9c1a6] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang6Parser40ParseTemplateDeclarationOrSpecializationENS_17DeclaratorContextERNS_14SourceLocationERNS_16ParsedAttributesENS_15AccessSpecifierE+0x488)[0x7f0320f9b808] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang6Parser36ParseDeclarationStartingWithTemplateENS_17DeclaratorContextERNS_14SourceLocationERNS_16ParsedAttributesENS_15AccessSpecifierE+0xe4)[0x7f0320f9b224] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang6Parser16ParseDeclarationENS_17DeclaratorContextERNS_14SourceLocationERNS0_25ParsedAttributesWithRangeEPS2_+0x293)[0x7f0320f194d3] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang6Parser24ParseExternalDeclarationERNS0_25ParsedAttributesWithRangeEPNS_15ParsingDeclSpecE+0x1ef)[0x7f0320fa9e8f] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang6Parser17ParseTopLevelDeclERNS_9OpaquePtrINS_12DeclGroupRefEEEb+0x4eb)[0x7f0320fa8c9b] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang8ParseASTERNS_4SemaEbb+0x1fd)[0x7f0320f0b6ed] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang14FrontendAction7ExecuteEv+0x48)[0x7f03224d70c8] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang16CompilerInstance13ExecuteActionERNS_14FrontendActionE+0x861)[0x7f032248d641] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0x5e0)[0x7f032253d200] /usr/bin/clang++-11(_Z8cc1_mainN4llvm8ArrayRefIPKcEES2_Pv+0x94f)[0x4131bf] /usr/bin/clang++-11[0x4115fe] /lib/x86_64-linux-gnu/libclang-cpp.so.11(+0x1c8c732)[0x7f03221c0732] /lib/x86_64-linux-gnu/libLLVM-11.so.1(_ZN4llvm20CrashRecoveryContext9RunSafelyENS_12function_refIFvvEEE+0xdd)[0x7f031bf4abcd] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZNK5clang6driver10CC1Command7ExecuteEN4llvm8ArrayRefINS2_8OptionalINS2_9StringRefEEEEEPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPb+0x13f)[0x7f03221bfc5f] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZNK5clang6driver11Compilation14ExecuteCommandERKNS0_7CommandERPS3_+0x2df)[0x7f0322197a7f] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZNK5clang6driver11Compilation11ExecuteJobsERKNS0_7JobListERN4llvm15SmallVectorImplISt4pairIiPKNS0_7CommandEEEE+0x77)[0x7f0322197c27] /lib/x86_64-linux-gnu/libclang-cpp.so.11(_ZN5clang6driver6Driver18ExecuteCompilationERNS0_11CompilationERN4llvm15SmallVectorImplISt4pairIiPKNS0_7CommandEEEE+0xdc)[0x7f03221ab78c] /usr/bin/clang++-11(main+0x2533)[0x4110a3] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7f031af58d7a] /usr/bin/clang++-11(_start+0x2a)[0x40e89a] clang: error: clang frontend command failed due to signal (use -v to see invocation) Debian clang version 11.0.1-2 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin clang: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /tmp/generator-bdb2e0.cpp clang: note: diagnostic msg: /tmp/generator-bdb2e0.sh clang: note: diagnostic msg: ******************** [331/4881] Building CXX object qtbase/src/tools/moc/CMakeFiles/moc.dir/Release/preprocessor.cpp.o ninja: build stopped: subcommand failed.
My configure options are:
./configure -platform $QT_PLATFORM_NAME -shared -debug-and-release -cmake-generator "Ninja Multi-Config" -no-guess-compiler -opensource -make tools -nomake examples -nomake tests -confirm-license -qt-libpng -qt-libjpeg -qt-zlib -qpa xcb -xcb-xlib -xcb -opengl desktop -fontconfig -skip qt3d -skip qtactiveqt -skip qt5compat -skip qtcharts -skip qtcoap -skip qtconnectivity -skip qtdatavis3d -skip qtdeclarative -skip qtdoc -skip qtgraphs -skip qtgrpc -skip qthttpserver -skip qtlocation -skip qtlottie -skip qtmqtt -skip qtmultimedia -skip qtnetworkauth -skip qtopcua -skip qtpositioning -skip qtprotobuf -skip qtquick3d -skip qtquick3dphysics -skip qtquickeffectmaker -skip qtquicktimeline -skip qtremoteobjects -skip qtscxml -skip qtsensors -skip qtserialbus -skip qtshadertools -skip qtspeech -skip qtsvg -skip qtvirtualkeyboard -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebsockets -skip qtwebview -no-feature-androiddeployqt -no-feature-assistant -- -DCMAKE_COMMAND:INTERNAL=$CTI_INTERNAL_CMAKE -DCMAKE_INSTALL_PREFIX:PATH=$TARGET_DIR -DCMAKE_MAKE_PROGRAM:FILEPATH=$CTI_INTERNAL_NINJA -DQT_GENERATE_SBOM=OFF -DCMAKE_CXX_EXTENSIONS=OFF
Configure summary:
Building for: linux-clang (x86_64, CPU features: ) Compiler: clang 11.0.1 Build options: Mode ................................... debug and release Optimize release build for size ........ no Fully optimize release builds (-O3) .... no Building shared libraries .............. yes Using ccache ........................... no Unity Build ............................ no Using new DTAGS ........................ yes Relocatable ............................ yes Using precompiled headers .............. yes Using Link Time Optimization (LTCG) .... no Using Intel Control-flow Enforcement Technology (CET) yes Using Glibc function fortification ..... yes Using -ftrivial-auto-var-init=pattern .. yes Using -fstack-protector-strong ......... yes Using -fstack-clash-protection ......... no Using libstdc++ assertions ............. yes Using libc++ hardening ................. no Using -z relro -z now when linking ..... yes Target compiler supports: x86 Intrinsics ....................... Basic VAES AVX512VBMI2 Sanitizers: Addresses ............................ no Threads .............................. no Memory ............................... no Fuzzer (instrumentation only) ........ no Undefined ............................ no Build parts ............................ libs tools Install examples sources ............... no Qt modules and options: Qt Concurrent .......................... yes Qt D-Bus ............................... yes Qt D-Bus directly linked to libdbus .... no Qt Gui ................................. yes Qt Network ............................. yes Qt PrintSupport ........................ yes Qt Sql ................................. yes Qt Testlib ............................. yes Qt Widgets ............................. yes Qt Xml ................................. yes Support enabled for: Using pkg-config ....................... yes Using vcpkg ............................ no udev ................................... no OpenSSL ................................ no Qt directly linked to OpenSSL ........ no OpenSSL 1.1 ............................ no OpenSSL 3.0 ............................ no Using system zlib ...................... no Zstandard support ...................... no Thread support ......................... yes Common build options: Linker can resolve circular dependencies no CMake policy CMP0099 is supported ...... yes Qt Core: backtrace .............................. yes C++23 <stacktrace> ..................... no DoubleConversion ....................... yes Using system DoubleConversion ........ no CLONE_PIDFD support in forkfd .......... yes GLib ................................... no ICU .................................... no Using system libb2 ..................... no Built-in copy of the MIME database ..... yes Application permissions ................ yes Defaulting legacy IPC to POSIX ......... no Tracing backend ........................ <none> OpenSSL based cryptographic hash ....... no Logging backends: journald ............................. no syslog ............................... no slog2 ................................ no PCRE2 .................................. yes Using system PCRE2 ................... no Qt Sql: SQL item models ........................ yes Qt Network: getifaddrs() ........................... no IPv6 ifname ............................ no libproxy ............................... no Linux AF_NETLINK ....................... yes DTLS ................................... no OCSP-stapling .......................... no SCTP ................................... no Use system proxies ..................... yes GSSAPI ................................. no Brotli Decompression Support ........... yes qIsEffectiveTLD() ...................... yes Built-in publicsuffix database ....... yes System publicsuffix database ......... yes Core tools: Android deployment tool ................ no macOS deployment tool .................. no Windows deployment tool ................ no qmake .................................. yes Qt Gui: Accessibility .......................... yes FreeType ............................... yes Using system FreeType ................ yes HarfBuzz ............................... yes Using system HarfBuzz ................ no Fontconfig ............................. yes Image formats: GIF .................................. yes ICO .................................. yes JPEG ................................. yes Using system libjpeg ............... no PNG .................................. yes Using system libpng ................ no Text formats: HtmlParser ........................... yes CssParser ............................ yes OdfWriter ............................ yes MarkdownReader ....................... yes Using system libmd4c ............... no MarkdownWriter ....................... yes EGL .................................... yes OpenVG ................................. no OpenGL: Desktop OpenGL ....................... yes OpenGL ES 2.0 ........................ no OpenGL ES 3.0 ........................ no OpenGL ES 3.1 ........................ no OpenGL ES 3.2 ........................ no Vulkan ................................. no Metal .................................. no QGraphicsFrameCapture .................. no Session Management ..................... yes Features used by QPA backends: evdev .................................. yes libinput ............................... no HiRes wheel support in libinput ........ no INTEGRITY HID .......................... no mtdev .................................. no tslib .................................. no xkbcommon .............................. yes X11 specific: XLib ................................. yes XCB Xlib ............................. yes EGL on X11 ........................... yes xkbcommon-x11 ........................ yes xcb-sm ............................... yes QPA backends: DirectFB ............................... no EGLFS .................................. yes EGLFS details: EGLFS OpenWFD ........................ no EGLFS i.Mx6 .......................... no EGLFS i.Mx6 Wayland .................. no EGLFS RCAR ........................... no EGLFS EGLDevice ...................... no EGLFS GBM ............................ no EGLFS VSP2 ........................... no EGLFS Mali ........................... no EGLFS Raspberry Pi ................... no EGLFS X11 ............................ yes LinuxFB ................................ yes VNC .................................... yes VK_KHR_display ......................... no QNX: lgmon ................................ no IMF .................................. no XCB: Using system-provided xcb-xinput ..... no GL integrations: GLX Plugin ......................... yes XCB GLX .......................... yes EGL-X11 Plugin ..................... yes Windows: Direct 2D ............................ no Direct 2D 1.1 ........................ no DirectWrite .......................... no DirectWrite 3 ........................ no Qt Widgets: GTK+ ................................... no Styles ................................. Fusion Windows Qt Testlib: Tester for item models ................. yes Batch tests ............................ no Qt PrintSupport: CUPS ................................... no Qt Sql Drivers: DB2 (IBM) .............................. no InterBase .............................. no MySql .................................. no OCI (Oracle) ........................... no ODBC ................................... no PostgreSQL ............................. no SQLite ................................. yes Using system provided SQLite ......... no Mimer .................................. no Further Image Formats: JasPer ................................. no MNG .................................... no TIFF ................................... yes Using system libtiff ................. yes WEBP ................................... yes Using system libwebp ................. no Serial Port: ntddmodm ............................... no Qt Tools: Qt Assistant ........................... no libclang found ......................... yes Clang-based lupdate parser ............. yes Qt Widgets Designer .................... yes Qt Distance Field Generator ............ no Qt Linguist ............................ yes pixeltool .............................. yes qdbus .................................. yes QDoc ................................... no Qt Attributions Scanner ................ yes qtdiag ................................. yes qtplugininfo ........................... yes