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

Regression when using cpp.linkerWrapper with msvc toolchain

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 1.20
    • 1.18.1
    • Toolchains: Visual C++
    • None
    • Windows
    • 3f3b4df74258bae8e5ce2bd9c9e6202be43f70e1 (qbs/qbs/1.20)

    Description

      On Windows with the msvc toolchain, when defining a linker wrapper via the cpp.linkerWrapper property, the link step fails with an error message stating "nologo" cannot be found. For example, consider cpp.linkerWrapper: ["wrapper.exe"]. The resulting linker command line is screwed up:

      wrapper.exe /nologo <libraries> /Fe<executable> /link cl.exe /nologo <linker-options>

      The correct order of arguments should be:

        wrapper.exe cl.exe /nologo <libraries> /Fe<executable> /link /nologo <linker-options>

      Attachments

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

        Activity

          People

            kuzulis Denis Shienkov
            thomas.epting Thomas Epting
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes