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

List:       kde-windows
Subject:    Review Request: cannot compile qt if kderoot path is too long
From:       "Wolfgang Rohdewald" <wolfgang () rohdewald ! de>
Date:       2011-02-14 15:18:20
Message-ID: 20110214151820.3375.71142 () 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/
-----------------------------------------------------------

Review request for kde-windows.


Summary
-------

On windows, gcc/g++ only take a maximum of 8192 chars for command line argu=
ments. If they get more they will not complain but strange things will happ=
en like compiler segfaulting or gcc misinterpreting the arguments at around=
 position 8192. I did not report this as a gcc bug, maybe somebody else alr=
eady 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\dow=
nload\svn-src\qt\src\3rdparty\sqlite\sqlite3.c, the command line having a l=
ength 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


[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 />


<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>





<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

When this review is closed, I will update the emerge wiki</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/bin/emerge.py <span style="color: \
grey">(1220611)</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