Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-128919

[REG 6.8.0 RC snapshot->6.8.0 RC snapshot] insource build fails on macOS, qtdeclarative

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P1: Critical
    • 6.8.0 RC
    • 6.8.0 RC
    • macOS14 x64, branch 6.8
    • macOS

    Description

      Have Qt 6.8.0 src available (qt5 SHA1 f43651e4d82e20412767d7eba4ecb494d565f2a7), configure build:

      cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_OSX_ARCHITECTURES=x86_64;arm64 -DQT_BUILD_EXAMPLES=FALSE -DCMAKE_BUILD_TYPE=Release -DINPUT_separate_debug_info=no -DINPUT_headersclean=yes -DINPUT_framework=yes -DODBC_ROOT=/usr/local/opt/libiodbc -DPostgreSQL_ROOT=/Applications/Postgres.app/Contents/Versions/14/bin/.. -DOPENSSL_ROOT_DIR=/usr/local/openssl-3.0.7 -DQT_BUILD_TESTS=OFF -DCMAKE_MESSAGE_LOG_LEVEL=STATUS -G Ninja /Users/qt/RTA/src-6.8.0 -DCMAKE_INSTALL_PREFIX:PATH=/Users/qt/RTA/src-6.8.0/qtbase 

      -> ok, build cmake --build . --parallel
      -> fails:

      FAILED: qtdeclarative/src/qml/CMakeFiles/Qml.dir/qml/qqmltypemodule.cpp.o 
      /usr/bin/clang++ -DBUILDING_QT__ -DENABLE_ASSEMBLER_WX_EXCLUSIVE=1 -DENABLE_DFG_JIT=0 -DENABLE_DFG_JIT_UTILITY_METHODS=1 -DENABLE_JIT_CONSTANT_BLINDING=0 -DENABLE_LLINT=0 -DGL_SILENCE_DEPRECATION -DJS_EXPORT_PRIVATE="" -DNDEBUG -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_QML_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_LEAN_HEADERS=1 -DQT_MOC_COMPAT -DQT_NETWORK_LIB -DQT_NO_AS_CONST=1 -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_FOREACH -DQT_NO_FOREACH=1 -DQT_NO_INTEGER_EVENT_COORDINATES -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QASCONST -DQT_NO_QEXCHANGE -DQT_NO_QSNPRINTF -DQT_NO_QSNPRINTF=1 -DQT_NO_URL_CAST_FROM_STRING -DQT_QMLINTEGRATION_LIB -DQT_USE_QSTRINGBUILDER -DQml_EXPORTS -DWTFInvokeCrashHook=qmlWTFInvokeCrashHook -DWTFReportAssertionFailure=qmlWTFReportAssertionFailure -DWTFReportAssertionFailureWithMessage=qmlWTFReportAssertionFailureWithMessage -DWTFReportBacktrace=qmlWTFReportBacktrace -DWTF_EXPORT_PRIVATE="" -DWTF_USE_UDIS86=0 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_FAST -I/Users/qt/RTA/src-6.8.0/qtdeclarative/src/qml/Qml_autogen/include -I/Users/qt/RTA/src-6.8.0/qtbase/include -I/Users/qt/RTA/src-6.8.0/qtbase/include/QtQml -I/Users/qt/RTA/src-6.8.0/qtbase/lib/QtQml.framework/Headers -I/Users/qt/RTA/src-6.8.0/qtdeclarative/src/qml -I/Users/qt/RTA/src-6.8.0/qtdeclarative/src/qml/.generated -I/Users/qt/RTA/src-6.8.0/qtdeclarative/src/qml/compiler -I/Users/qt/RTA/src-6.8.0/qtdeclarative/src/qml/jsruntime -I/Users/qt/RTA/src-6.8.0/qtdeclarative/src/qml/memory -I/Users/qt/RTA/src-6.8.0/qtdeclarative/src/qml/qml -I/Users/qt/RTA/src-6.8.0/qtdeclarative/src/qml/qmldirparser -I/Users/qt/RTA/src-6.8.0/qtdeclarative/src/qml/../3rdparty/masm -I/Users/qt/RTA/src-6.8.0/qtdeclarative/src/qml/../3rdparty/masm/assembler -I/Users/qt/RTA/src-6.8.0/qtdeclarative/src/qml/../3rdparty/masm/disassembler -I/Users/qt/RTA/src-6.8.0/qtdeclarative/src/qml/../3rdparty/masm/disassembler/udis86 -I/Users/qt/RTA/src-6.8.0/qtdeclarative/src/qml/../3rdparty/masm/jit -I/Users/qt/RTA/src-6.8.0/qtdeclarative/src/qml/../3rdparty/masm/runtime -I/Users/qt/RTA/src-6.8.0/qtdeclarative/src/qml/../3rdparty/masm/stubs -I/Users/qt/RTA/src-6.8.0/qtdeclarative/src/qml/../3rdparty/masm/stubs/runtime -I/Users/qt/RTA/src-6.8.0/qtdeclarative/src/qml/../3rdparty/masm/stubs/wtf -I/Users/qt/RTA/src-6.8.0/qtdeclarative/src/qml/../3rdparty/masm/wtf -I/Users/qt/RTA/src-6.8.0/qtdeclarative/src/qml/debugger -I/Users/qt/RTA/src-6.8.0/qtbase/include/QtQml/6.8.0 -I/Users/qt/RTA/src-6.8.0/qtbase/include/QtQml/6.8.0/QtQml -I/Users/qt/RTA/src-6.8.0/qtbase/src/corelib -I/Users/qt/RTA/src-6.8.0/qtbase/include/QtCore/6.8.0 -I/Users/qt/RTA/src-6.8.0/qtbase/include/QtCore/6.8.0/QtCore -I/Users/qt/RTA/src-6.8.0/qtbase/include/QtCore -I/Users/qt/RTA/src-6.8.0/qtbase/lib/QtCore.framework/Headers -I/Users/qt/RTA/src-6.8.0/qtbase/mkspecs/macx-clang -I/Users/qt/RTA/src-6.8.0/qtbase/include/QtQmlIntegration -I/Users/qt/RTA/src-6.8.0/qtdeclarative/src/qmlintegration -I/Users/qt/RTA/src-6.8.0/qtbase/include/QtNetwork -I/Users/qt/RTA/src-6.8.0/qtbase/lib/QtNetwork.framework/Headers -I/Users/qt/RTA/src-6.8.0/qtdeclarative/src/qml/.generated/release -I/Users/qt/RTA/src-6.8.0/qtdeclarative/src/qml/jit -I/Users/qt/RTA/src-6.8.0/qtdeclarative/src/qml/animations -F/Users/qt/RTA/src-6.8.0/qtbase/lib -DNDEBUG -O2 -std=gnu++17 -arch x86_64 -arch arm64 -isysroot /Applications/Xcode15.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -mmacosx-version-min=12.0 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -fapplication-extension -ftrivial-auto-var-init=pattern -fstack-protector-strong -Winvalid-pch -Xarch_x86_64 -include/Users/qt/RTA/src-6.8.0/qtdeclarative/src/qml/CMakeFiles/Qml.dir/cmake_pch_x86_64.hxx -Xarch_arm64 -include/Users/qt/RTA/src-6.8.0/qtdeclarative/src/qml/CMakeFiles/Qml.dir/cmake_pch_arm64.hxx -MD -MT qtdeclarative/src/qml/CMakeFiles/Qml.dir/qml/qqmltypemodule.cpp.o -MF qtdeclarative/src/qml/CMakeFiles/Qml.dir/qml/qqmltypemodule.cpp.o.d -o qtdeclarative/src/qml/CMakeFiles/Qml.dir/qml/qqmltypemodule.cpp.o -c /Users/qt/RTA/src-6.8.0/qtdeclarative/src/qml/qml/qqmltypemodule.cpp
      clang: error: unable to execute command: Abort trap: 6
      clang: error: clang frontend command failed due to signal (use -v to see invocation)
      Apple clang version 15.0.0 (clang-1500.3.9.4)
      Target: arm64-apple-darwin23.0.0
      Thread model: posix 

      Namespace, shadow and static build does build without issues, seems a bit odd that the insource build fails.

      Last succesfull insource build was done 14.9. with SHA1 deea41c06cd1e3efa34413bb4eb18bc5eb1be3f6

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            smd Jan Arve
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes