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

QNX: On Windows unable to link a big project due to use of the full path to .obj files

    XMLWordPrintable

    Details

    • Commits:
      eb2e67a44ffa445a1bb360d1f75d5a722c0fa08a

      Description

      A big project fails to link due to a long linker command.

      Small projects link well, but the big one fails with the following error.

      cc: spawn of C:\qnx660\host\win32\x86\usr\bin\i486-pc-nto-qnx6.6.0-ld failed: No such file or directory
      

      I believe this error is a result of a very big linker command(~90k symbols).

      I received the same error on the smaller project, but when I moved the build directory to the smaller path(D:\b) the error had gone.

      Currently, the QBS generates full paths like this to the linker:

      D:/q/qtc_QNX_Qt_5_0b1813ff-release/Project.qtc-QNX-Qt-5-0b1813ff.f948372b/.obj/c44f4780dec42570/file.cpp.o

      while qmake uses relative paths:

      file.obj

      As a result, the same project built with a QBS generates linker command with ~90K symbols, when qmake generates ~35K(actually here even a bigger files count due to use of quick compiler). 

      So, currently, I'm not able to compile the project with QBS even with the shortest build dir path.

       

        Attachments

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

          Activity

            People

            Assignee:
            jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
            Reporter:
            zak Zakhar Bondia
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes