[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-windows
Subject:    Re: Review Request: cannot compile qt if kderoot path is too long
From:       "Ralf Habacker" <ralf () habacker ! de>
Date:       2011-02-15 13:33:02
Message-ID: 20110215133302.1336.72682 () vidsolbach ! de
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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

Ship it!


looks good

- Ralf


On Feb. 15, 2011, 1:31 p.m., Wolfgang Rohdewald wrote:
> =

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

> (Updated Feb. 15, 2011, 1:31 p.m.)
> =

> =

> Review request for kde-windows.
> =

> =

> Summary
> -------
> =

> On windows, gcc/g++ only take a maximum of 8192 chars for command line ar=
guments. If they get more they will not complain but strange things will ha=
ppen like compiler segfaulting or gcc misinterpreting the arguments at arou=
nd position 8192. I did not report this as a gcc bug, maybe somebody else a=
lready 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 mo=
re, this is what I saw).
> =

> I was using kderootsvn which makes gcc die when compiling c:\kderootsvn\d=
ownload\svn-src\qt\src\3rdparty\sqlite\sqlite3.c, the command line having a=
 length of 8214
> =

> =

> Diffs
> -----
> =

>   /trunk/kdesupport/emerge/portage/libs/qt/qt-4.7.1.20101224.py 1220833 =

> =

> Diff: http://svn.reviewboard.kde.org/r/6483/diff
> =

> =

> Testing
> -------
> =

> qt compiles with useShortPathes and a long kderoot
> =

> =

> Thanks,
> =

> Wolfgang
> =

>


[Attachment #5 (text/html)]

<html>
 <body>
  <div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
   <table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 \
solid;">  <tr>
     <td>
      This is an automatically generated e-mail. To reply, visit:
      <a href="http://svn.reviewboard.kde.org/r/6483/">http://svn.reviewboard.kde.org/r/6483/</a>
  </td>
    </tr>
   </table>
   <br />



 <p>Ship it!</p>



 <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">looks good</pre>  <br />







<p>- Ralf</p>


<br />
<p>On February 15th, 2011, 1:31 p.m., Wolfgang Rohdewald wrote:</p>






<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('http://svn.reviewboard.kde.orgrb/images/review_request_box_top_bg.png'); \
background-position: left top; background-repeat: repeat-x; border: 1px black \
solid;">  <tr>
  <td>

<div>Review request for kde-windows.</div>
<div>By Wolfgang Rohdewald.</div>


<p style="color: grey;"><i>Updated Feb. 15, 2011, 1:31 p.m.</i></p>




<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">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</pre>  </td>
 </tr>
</table>


<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0">  <tr>
  <td>
   <pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">qt compiles with useShortPathes and a long kderoot</pre>  </td>
 </tr>
</table>




<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">

 <li>/trunk/kdesupport/emerge/portage/libs/qt/qt-4.7.1.20101224.py <span \
style="color: grey">(1220833)</span></li>

</ul>

<p><a href="http://svn.reviewboard.kde.org/r/6483/diff/" style="margin-left: \
3em;">View Diff</a></p>




  </td>
 </tr>
</table>








  </div>
 </body>
</html>



_______________________________________________
Kde-windows mailing list
Kde-windows@kde.org
https://mail.kde.org/mailman/listinfo/kde-windows


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic