Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-6612

error: argument to '-Xarch_arm64' is missing (expected 1 value)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • dev
    • None
    • macOS

    Description

      https://testresults.qt.io/logs/qt/qtbase/0f818847840bc4383249495f37938a9d3904ed4a/MacOSMacOS_14arm64MacOSMacOS_14arm64Clangqtci-macos-14-arm-106-197127DoNotCompileTestsDuringBuild_MinimalStaticTests_Sccache_UseConfigure/6a913e5763575b93420cf56fc2f4b04136d3dc53/build_1727710940/log.txt.gz

      agent:2024/09/30 15:45:02 build.go:404: [1435/1801] sccache /usr/bin/clang++ -DGL_SILENCE_DEPRECATION -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_TESTLIB_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_LEAN_HEADERS=1 -DQT_MOC_COMPAT -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_CONTEXTLESS_CONNECT -DQT_NO_DATASTREAM -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_MESSAGELOGCONTEXT -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_QASCONST -DQT_NO_QEXCHANGE -DQT_NO_QSNPRINTF -DQT_NO_STD_FORMAT_SUPPORT -DQT_USE_NODISCARD_FILE_OPEN -DQT_USE_QSTRINGBUILDER -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_FAST -I/Users/qt/work/qt/qtbase_build/src/testlib/Test_autogen/include -I/Users/qt/work/qt/qtbase_build/include -I/Users/qt/work/qt/qtbase_build/include/QtTest -I/Users/qt/work/qt/qtbase/src/testlib -I/Users/qt/work/qt/qtbase_build/src/testlib -I/Users/qt/work/qt/qtbase_build/include/QtTest/6.9.0 -I/Users/qt/work/qt/qtbase_build/include/QtTest/6.9.0/QtTest -I/Users/qt/work/qt/qtbase_build/include/QtCore -I/Users/qt/work/qt/qtbase/mkspecs/macx-clang -I/Users/qt/work/qt/qtbase_build/src/corelib -I/Users/qt/work/qt/qtbase_build/include/QtCore/6.9.0 -I/Users/qt/work/qt/qtbase_build/include/QtCore/6.9.0/QtCore -g -DNDEBUG -O2 -std=gnu++17 -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 "-DHAVE_ARMV8_CNTVCT_EL0='defined(Q_PROCESSOR_ARM)'" -ffunction-sections -fdata-sections -fapplication-extension -ftrivial-auto-var-init=pattern -fstack-protector-strong -fexceptions -Winvalid-pch -Xarch_arm64 -include/Users/qt/work/qt/qtbase_build/src/testlib/CMakeFiles/Test.dir/cmake_pch_arm64.hxx -MD -MT src/testlib/CMakeFiles/Test.dir/qtestcase.cpp.o -MF src/testlib/CMakeFiles/Test.dir/qtestcase.cpp.o.d -o src/testlib/CMakeFiles/Test.dir/qtestcase.cpp.o -c /Users/qt/work/qt/qtbase/src/testlib/qtestcase.cpp
      agent:2024/09/30 15:45:02 build.go:404: clang: error: argument to '-Xarch_arm64' is missing (expected 1 value)
      agent:2024/09/30 15:45:02 build.go:404: Sccache command failed, re-try calling build tool directly

      Lots of these errors in the log. Apparently the local build tool accepts this, so seems like an issue with sscache.

      Attachments

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

        Activity

          People

            tosaario Toni Saario
            vestbo Tor Arne Vestbø
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes