Review Request: cannot compile qt if kderoot path is too long

Wolfgang Rohdewald wolfgang at rohdewald.de
Mon Feb 14 16:24:58 CET 2011


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://svn.reviewboard.kde.org/r/6483/#review9838
-----------------------------------------------------------


now I actually found a note in the wiki about a short path option in kdesettings.

but I lost too much time with this - I do want to make sure this does never happen again.

- Wolfgang


On Feb. 14, 2011, 3:18 p.m., Wolfgang Rohdewald wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://svn.reviewboard.kde.org/r/6483/
> -----------------------------------------------------------
> 
> (Updated Feb. 14, 2011, 3:18 p.m.)
> 
> 
> 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/15a251ae/attachment.htm 


More information about the Kde-windows mailing list