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

Qtdeclarative build failed because of g++: fatal error: cannot specify -o with -c, -S or -E with multiple files

    XMLWordPrintable

Details

    Description

      Qt declarative build is failing during qt5.git integration because of g++: fatal error: cannot specify -o with -c, -S or -E with multiple files:

      g++ -c -fno-keep-inline-dllexport -pipe -ffunction-sections -O2 -std=c++11 -fno-exceptions -Wextra -Wall -W -fno-rtti -DUNICODE -DWTF_EXPORT_PRIVATE= -DJS_EXPORT_PRIVATE= -DENABLE_ASSEMBLER_WX_EXCLUSIVE=1 -DWTFReportAssertionFailure=qmlWTFReportAssertionFailure -DWTFReportBacktrace=qmlWTFReportBacktrace -DWTFInvokeCrashHook=qmlWTFInvokeCrashHook -DNOMINMAX -DENABLE_LLINT=0 -DENABLE_DFG_JIT=0 -DENABLE_DFG_JIT_UTILITY_METHODS=1 -DENABLE_JIT_CONSTANT_BLINDING=0 -DBUILDING_QT__ -DWTF_USE_UDIS86=0 -DNDEBUG -DWTF_EXPORT_PRIVATE= -DJS_EXPORT_PRIVATE= -DENABLE_ASSEMBLER_WX_EXCLUSIVE=1 -DWTFReportAssertionFailure=qmlWTFReportAssertionFailure -DWTFReportBacktrace=qmlWTFReportBacktrace -DWTFInvokeCrashHook=qmlWTFInvokeCrashHook -DNOMINMAX -DENABLE_LLINT=0 -DENABLE_DFG_JIT=0 -DENABLE_DFG_JIT_UTILITY_METHODS=1 -DENABLE_JIT_CONSTANT_BLINDING=0 -DBUILDING_QT__ -DWTF_USE_UDIS86=0 -DNDEBUG -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_QMLDEVTOOLS_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_BOOTSTRAP_LIB -DQT_VERSION_STR="\"5.9.0\"" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=9 -DQT_VERSION_PATCH=0 -DQT_BOOTSTRAPPED -DQT_NO_CAST_TO_ASCII -DQT_NO_DYNAMIC_CAST -I. -I..\3rdparty\masm\jit -I..\3rdparty\masm\assembler -I..\3rdparty\masm\runtime -I..\3rdparty\masm\wtf -I..\3rdparty\masm\stubs -I..\3rdparty\masm\stubs\wtf -I..\3rdparty\masm -I..\3rdparty\masm\disassembler -I..\3rdparty\masm\disassembler\udis86 -I..\qml\jsruntime -I. -I..\qml\compiler -I. -I..\qml\memory -I. -I..\3rdparty\masm\jit -I..\3rdparty\masm\assembler -I..\3rdparty\masm\runtime -I..\3rdparty\masm\wtf -I..\3rdparty\masm\stubs -I..\3rdparty\masm\stubs\wtf -I..\3rdparty\masm -I..\3rdparty\masm\disassembler -I..\3rdparty\masm\disassembler\udis86 -I..\qml\jit -I. -I.generated\release -I..\..\include -I..\..\include\QtQmlDevTools -I..\..\include\QtQmlDevTools\5.9.0 -I..\..\include\QtQmlDevTools\5.9.0\QtQmlDevTools -Itmp -Ic:\Users\qt\work\install\include -Ic:\Users\qt\work\install\include\QtCore -Ic:\Users\qt\work\install\include\QtCore\5.9.0 -Ic:\Users\qt\work\install\include\QtCore\5.9.0\QtCore -Ic:\Users\qt\work\install\include\QtXml -Ic:\Users\qt\work\install\include\QtXml\5.9.0 -Ic:\Users\qt\work\install\include\QtXml\5.9.0\QtXml -Ic:\Users\qt\work\install\mkspecs\win32-g++  -o .obj\release\*.o C:/Users/qt/work/qt/qtdeclarative/src/3rdparty/masm/yarr/*.cpp
      g++: fatal error: cannot specify -o with -c, -S or -E with multiple files
      compilation terminated.
      Makefile.Release:4749: recipe for target '.obj/release/*.o' failed
      Mingw32-make[3]: *** [.obj/release/*.o] Error 1
      Mingw32-make[3]: *** Waiting for unfinished jobs....
      Mingw32-make[3]: Leaving directory 'c:/Users/qt/work/qt/qtdeclarative/src/qmldevtools'
      Makefile:34: recipe for target 'release' failed
      Mingw32-make[2]: *** [release] Error 2
      Mingw32-make[2]: Leaving directory 'c:/Users/qt/work/qt/qtdeclarative/src/qmldevtools'
      Makefile:351: recipe for target 'sub-qmldevtools-make_first-ordered' failed
      Mingw32-make[1]: *** [sub-qmldevtools-make_first-ordered] Error 2
      Mingw32-make[1]: Leaving directory 'c:/Users/qt/work/qt/qtdeclarative/src'
      Makefile:45: recipe for target 'sub-src-make_first' failed
      Mingw32-make: *** [sub-src-make_first] Error 2
      
      agent:2017/02/07 18:25:20 build.go:200: Process finished with error: exit status 2
      agent:2017/02/07 18:25:20 agent.go:160: Build failed
      agent:2017/02/07 18:25:20 agent.go:117: ERROR building: exit status 2
      agent:2017/02/07 18:25:20 build.go:152: Error reading from stdout/err: exit status 2
      

      See:
      https://codereview.qt-project.org/#/c/184759/
      http://testresults.qt.io/logs/qt/qtdeclarative/0fb53b5c80e7a4225d4b13114caf97ba1fdf352a/WindowsWindows_7x86AndroidAndroid_ANYarmv7Mingw53qtci-windows-7-x86-d27d11Release_DisableTests_OpenGLES2/07f8e655a433b5d04f5d3cdcb787815ab5353290/buildlog.txt.gz

      Attachments

        Activity

          People

            shausman Simon Hausmann
            janihe Jani Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: