<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>41464</bug_id>
          
          <creation_ts>2010-07-01 07:33:17 -0700</creation_ts>
          <short_desc>[Qt][Symbian] Make ARM UDEB builds easier and robust</short_desc>
          <delta_ts>2011-02-22 00:11:26 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>S60 3rd edition</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>52835</dependson>
    
    <dependson>52839</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Siddharth Mathur">s.mathur</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>hausmann</cc>
    
    <cc>iain.campbell</cc>
    
    <cc>koshuin</cc>
    
    <cc>laszlo.gombos</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>245337</commentid>
    <comment_count>0</comment_count>
    <who name="Siddharth Mathur">s.mathur</who>
    <bug_when>2010-07-01 07:33:17 -0700</bug_when>
    <thetext>The current approach of using debug-webkit-patch-sbsv2.py to make ARM UDEB builds is a huge improvement over not having Debug builds at all, but is prone to bit rot. https://trac.webkit.org/wiki/BuildingQtOnSymbian

This is partly because the list of include/exclude source files in the Python script can get out of sync of trunk code pretty easily. Also, because no bots routinely do ARM UDEB compilation using the script. 

Some options to reduce developer headaches: 
- Figure out a way to use existing .pro or .pri files in trunk to manage the AllinOne generation logic
- Hook up debug-webkit-patch-sbsv2.py in its current form to a Buildbot, so that errors are caught on a daily basis

Any other ideas?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>301626</commentid>
    <comment_count>1</comment_count>
    <who name="Janne Koskinen">koshuin</who>
    <bug_when>2010-10-29 01:02:29 -0700</bug_when>
    <thetext>I have bad news. Using AllInOne.cpp files won&apos;t help anymore. 2GB is reached in 2.1 and trunk even if debug-webkit-patch-sbsv2.py is ran.
Could someone confirm this so I know it isn&apos;t just my env?
365 .o files totaling 1.3GB when using QtWebkit 2.1 branch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>301627</commentid>
    <comment_count>2</comment_count>
    <who name="Janne Koskinen">koshuin</who>
    <bug_when>2010-10-29 01:05:32 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; 365 .o files totaling 1.3GB when using QtWebkit 2.1 branch.

Oops. I counted full dir with .d files in as well. number of .o is 182.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>312288</commentid>
    <comment_count>3</comment_count>
    <who name="Janne Koskinen">koshuin</who>
    <bug_when>2010-11-22 04:22:24 -0800</bug_when>
    <thetext>Just quick update for those who desperately need debugging in Symbian.
You can use allinone.cpp files if you disable SVG. Then it fits to 2GB limit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>333004</commentid>
    <comment_count>4</comment_count>
    <who name="Iain Campbell">iain.campbell</who>
    <bug_when>2011-01-12 03:19:38 -0800</bug_when>
    <thetext>If using RVCT4 is an option, there are several choices to improve matters:

- RVCT4.1 now has a 64-bit version of the linker
- or use the compiler flag listed on http://bugreports.qt.nokia.com/browse/QTBUG-9999
- or the linker flag on the same bug

Of those, the second option (the compiler flag) is probably the best, although I haven&apos;t yet tried debugging the resulting binaries.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>354786</commentid>
    <comment_count>5</comment_count>
    <who name="Siddharth Mathur">s.mathur</who>
    <bug_when>2011-02-21 13:39:17 -0800</bug_when>
    <thetext>Fixed for me (when using trunk) due to the following improvements: 
a) --no-svg or --minimal should be used to reduce features
b) use RVCT 4.0 (or higher) for all builds, including UDEB 
c) Use 64-bit armlink.exe with a 64-bit OS to allow successfull linking
c) recent SBS (2.16.x) support the .slimdebug option which appends the flags Iainc mentions in Comment #4 to UDEB builds. Reduces symbol information by &gt;50%
d) Carbide 3.2.x support improveed parsing of .sym symbol information in QtWebKit.dll, so it doesn&apos;t stall or OOM liked it used to

http://trac.webkit.org/wiki/BuildingQtOnSymbian</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>355096</commentid>
    <comment_count>6</comment_count>
    <who name="Janne Koskinen">koshuin</who>
    <bug_when>2011-02-22 00:11:26 -0800</bug_when>
    <thetext>(In reply to comment #5)
&gt; Fixed for me (when using trunk) due to the following improvements: 
&gt; a) --no-svg or --minimal should be used to reduce features
&gt; b) use RVCT 4.0 (or higher) for all builds, including UDEB 
&gt; c) Use 64-bit armlink.exe with a 64-bit OS to allow successfull linking
&gt; c) recent SBS (2.16.x) support the .slimdebug option which appends the flags Iainc mentions in Comment #4 to UDEB builds. Reduces symbol information by &gt;50%
&gt; d) Carbide 3.2.x support improveed parsing of .sym symbol information in QtWebKit.dll, so it doesn&apos;t stall or OOM liked it used to
&gt; 
&gt; http://trac.webkit.org/wiki/BuildingQtOnSymbian

All great stuff but not available to public :S</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>