Review Request: cannot compile qt if kderoot path is too long
Wolfgang Rohdewald
wolfgang at rohdewald.de
Mon Feb 14 16:18:20 CET 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://svn.reviewboard.kde.org/r/6483/
-----------------------------------------------------------
Review request for kde-windows.
Summary
-------
On windows, gcc/g++ only take a maximum of 8192 chars for command line arguments. If they get more they will not complain but strange things will happen like compiler segfaulting or gcc misinterpreting the arguments at around position 8192. I did not report this as a gcc bug, maybe somebody else already is registered wherever that can be done. I was using mingw4.
So emerge.py now first checks - it allows a maximum of 10 chars like in c:\kderoot. This results in command line lengths up to around 7700 (maybe more, this is what I saw).
I was using kderootsvn which makes gcc die when compiling c:\kderootsvn\download\svn-src\qt\src\3rdparty\sqlite\sqlite3.c, the command line having a length of 8214
When this review is closed, I will update the emerge wiki
Diffs
-----
/trunk/kdesupport/emerge/bin/emerge.py 1220611
Diff: http://svn.reviewboard.kde.org/r/6483/diff
Testing
-------
Thanks,
Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-windows/attachments/20110214/e8bfb7e2/attachment.htm
More information about the Kde-windows
mailing list