Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1808

Windows ARM: Qbs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • 2.4.1
    • Platforms: Windows
    • None
    • Windows
    • a36b05de3 (master)

    Description

      https://codereview.qt-project.org/c/qbs/qbs/+/591768 fixed what I guess was the main compile issue, but now I still have an issue with the linker not being able to access files (for writing?)

      17:35:14 [4440/4621] Linking CXX shared library lib\qbs\plugins\keiluvgenerator.dll17:35:14 FAILED: lib/qbs/plugins/keiluvgenerator.dll src/shared/qbs/src/plugins/generator/keiluv/keiluvgenerator.lib 17:35:14 C:\Windows\system32\cmd.exe /C "cd . && C:\CMake\bin\cmake.exe -E vs_link_dll --intdir=src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\arm64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\arm64\mt.exe --manifests  -- C:\PROGRA~1\MICROS~1\2022\PROFES~1\VC\Tools\MSVC\1441~1.341\bin\HOSTAR~1\arm64\link.exe /nologo src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\keiluvgenerator_autogen\mocs_compilation.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\keiluvfilesgroupspropertygroup.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\keiluvgenerator.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\keiluvgeneratorplugin.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\keiluvproject.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\keiluvprojectwriter.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\keiluvutils.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\keiluvworkspace.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\keiluvworkspacewriter.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\arm\armbuildtargetgroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\arm\armcommonpropertygroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\arm\armdebugoptiongroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\arm\armdlloptiongroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\arm\armtargetassemblergroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\arm\armtargetcommonoptionsgroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\arm\armtargetcompilergroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\arm\armtargetgroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\arm\armtargetlinkergroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\arm\armtargetmiscgroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\arm\armutilitiesgroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\mcs51\mcs51buildtargetgroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\mcs51\mcs51commonpropertygroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\mcs51\mcs51debugoptiongroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\mcs51\mcs51dlloptiongroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\mcs51\mcs51targetassemblergroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\mcs51\mcs51targetcommonoptionsgroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\mcs51\mcs51targetcompilergroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\mcs51\mcs51targetgroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\mcs51\mcs51targetlinkergroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\mcs51\mcs51targetmiscgroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\mcs51\mcs51utilitiesgroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\mcs51\mcs51utils.cpp.obj  /out:lib\qbs\plugins\keiluvgenerator.dll /implib:src\shared\qbs\src\plugins\generator\keiluv\keiluvgenerator.lib /pdb:lib\qbs\plugins\keiluvgenerator.pdb /dll /version:0.0 /machine:ARM64 /debug /INCREMENTAL  lib\qtcreator\qbscore.lib  lib\qtcreator\qbsjson.lib  psapi.lib  shell32.lib  C:\Users\qt\work\build\qt_install_dir\lib\Qt6Core.lib  mpr.lib  userenv.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."17:35:14 FINAL LINK: command "C:\PROGRA~1\MICROS~1\2022\PROFES~1\VC\Tools\MSVC\1441~1.341\bin\HOSTAR~1\arm64\link.exe /nologo src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\keiluvgenerator_autogen\mocs_compilation.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\keiluvfilesgroupspropertygroup.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\keiluvgenerator.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\keiluvgeneratorplugin.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\keiluvproject.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\keiluvprojectwriter.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\keiluvutils.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\keiluvworkspace.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\keiluvworkspacewriter.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\arm\armbuildtargetgroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\arm\armcommonpropertygroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\arm\armdebugoptiongroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\arm\armdlloptiongroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\arm\armtargetassemblergroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\arm\armtargetcommonoptionsgroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\arm\armtargetcompilergroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\arm\armtargetgroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\arm\armtargetlinkergroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\arm\armtargetmiscgroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\arm\armutilitiesgroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\mcs51\mcs51buildtargetgroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\mcs51\mcs51commonpropertygroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\mcs51\mcs51debugoptiongroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\mcs51\mcs51dlloptiongroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\mcs51\mcs51targetassemblergroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\mcs51\mcs51targetcommonoptionsgroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\mcs51\mcs51targetcompilergroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\mcs51\mcs51targetgroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\mcs51\mcs51targetlinkergroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\mcs51\mcs51targetmiscgroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\mcs51\mcs51utilitiesgroup_v5.cpp.obj src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir\archs\mcs51\mcs51utils.cpp.obj /out:lib\qbs\plugins\keiluvgenerator.dll /implib:src\shared\qbs\src\plugins\generator\keiluv\keiluvgenerator.lib /pdb:lib\qbs\plugins\keiluvgenerator.pdb /dll /version:0.0 /machine:ARM64 /debug /INCREMENTAL lib\qtcreator\qbscore.lib lib\qtcreator\qbsjson.lib psapi.lib shell32.lib C:\Users\qt\work\build\qt_install_dir\lib\Qt6Core.lib mpr.lib userenv.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir/intermediate.manifest src\shared\qbs\src\plugins\generator\keiluv\CMakeFiles\keiluvgenerator.dir/manifest.res" failed (exit code 1104) with the following output:17:35:14 LINK : fatal error LNK1104: cannot open file 'lib\qbs\plugins\keiluvgenerator.dll'17:35:14 17:35:14 [4441/4621] Linking CXX shared library lib\qbs\plugins\makefilegenerator.dll17:35:14 FAILED: lib/qbs/plugins/makefilegenerator.dll src/shared/qbs/src/plugins/generator/makefilegenerator/makefilegenerator.lib 17:35:14 C:\Windows\system32\cmd.exe /C "cd . && C:\CMake\bin\cmake.exe -E vs_link_dll --intdir=src\shared\qbs\src\plugins\generator\makefilegenerator\CMakeFiles\makefilegenerator.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\arm64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100226~1.0\arm64\mt.exe --manifests  -- C:\PROGRA~1\MICROS~1\2022\PROFES~1\VC\Tools\MSVC\1441~1.341\bin\HOSTAR~1\arm64\link.exe /nologo src\shared\qbs\src\plugins\generator\makefilegenerator\CMakeFiles\makefilegenerator.dir\makefilegenerator_autogen\mocs_compilation.cpp.obj src\shared\qbs\src\plugins\generator\makefilegenerator\CMakeFiles\makefilegenerator.dir\makefilegenerator.cpp.obj src\shared\qbs\src\plugins\generator\makefilegenerator\CMakeFiles\makefilegenerator.dir\makefilegeneratorplugin.cpp.obj  /out:lib\qbs\plugins\makefilegenerator.dll /implib:src\shared\qbs\src\plugins\generator\makefilegenerator\makefilegenerator.lib /pdb:lib\qbs\plugins\makefilegenerator.pdb /dll /version:0.0 /machine:ARM64 /debug /INCREMENTAL  lib\qtcreator\qbscore.lib  psapi.lib  shell32.lib  C:\Users\qt\work\build\qt_install_dir\lib\Qt6Core.lib  mpr.lib  userenv.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."17:35:14 FINAL LINK: command "C:\PROGRA~1\MICROS~1\2022\PROFES~1\VC\Tools\MSVC\1441~1.341\bin\HOSTAR~1\arm64\link.exe /nologo src\shared\qbs\src\plugins\generator\makefilegenerator\CMakeFiles\makefilegenerator.dir\makefilegenerator_autogen\mocs_compilation.cpp.obj src\shared\qbs\src\plugins\generator\makefilegenerator\CMakeFiles\makefilegenerator.dir\makefilegenerator.cpp.obj src\shared\qbs\src\plugins\generator\makefilegenerator\CMakeFiles\makefilegenerator.dir\makefilegeneratorplugin.cpp.obj /out:lib\qbs\plugins\makefilegenerator.dll /implib:src\shared\qbs\src\plugins\generator\makefilegenerator\makefilegenerator.lib /pdb:lib\qbs\plugins\makefilegenerator.pdb /dll /version:0.0 /machine:ARM64 /debug /INCREMENTAL lib\qtcreator\qbscore.lib psapi.lib shell32.lib C:\Users\qt\work\build\qt_install_dir\lib\Qt6Core.lib mpr.lib userenv.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:src\shared\qbs\src\plugins\generator\makefilegenerator\CMakeFiles\makefilegenerator.dir/intermediate.manifest src\shared\qbs\src\plugins\generator\makefilegenerator\CMakeFiles\makefilegenerator.dir/manifest.res" failed (exit code 1104) with the following output:17:35:14 LINK : fatal error LNK1104: cannot open file 'lib\qbs\plugins\makefilegenerator.dll'
      
      17:35:14 [4448/4621] Generating ../resources-build/install-root/share/qbs/qml-type-descriptions/qbs.qmltypes17:35:14 WARNING: plugin manager: Cannot load plugin 'C:\Users\qt\work\build\qt-creator_build\build\lib\qbs\plugins\iarewgenerator.dll': Cannot load library C:\Users\qt\work\build\qt-creator_build\build\lib\qbs\plugins\iarewgenerator.dll: The process cannot access the file because it is being used by another process.17:35:14 WARNING: plugin manager: Cannot load plugin 'C:\Users\qt\work\build\qt-creator_build\build\lib\qbs\plugins\visualstudiogenerator.dll': Cannot load library C:\Users\qt\work\build\qt-creator_build\build\lib\qbs\plugins\visualstudiogenerator.dll: The process cannot access the file because it is being used by another process.
      

      Not sure but maybe the build system tries to access files simultaneously in a build with parallel jobs? It is not always the same, a second run managed to link makefilegenerator.dll, keiluvgenerator.dll, and iarewgenerator.dll, but then failed with the above message for visualstudiogenerator.dll

      Attachments

        Issue Links

          For Gerrit Dashboard: QBS-1808
          # Subject Branch Project Status CR V

          Activity

            People

              arch Ivan Komissarov
              con Eike Ziller
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes