Details
-
Bug
-
Resolution: Done
-
P2: Important
-
1.8.0
-
None
-
Windows, qnx660, armv7a
-
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
For Gerrit Dashboard: QBS-1143 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
197369,3 | Make sure qcc handles response files properly for linking | 1.8 | qbs/qbs | Status: MERGED | +2 | 0 |