Difference between revisions of "PGO Related Bugs"

From CDOT Wiki
Jump to: navigation, search
(Project Details)
(September 2008)
Line 182: Line 182:
 
   </li>
 
   </li>
 
-->
 
-->
   <li>Sept 26th, 2008
+
   <li><span style="color:green">Sept 26th, 2008</span>
 +
  <blockquote>
 +
Successfully compiled Firefox with PGO using Visual Studio 2005 compiler.  Tests and debug are disabled.
 +
  </blockquote>
 +
  </li>
 +
 
 +
  <li><span style="color:green">Sept 26th, 2008</span>
 
<blockquote>
 
<blockquote>
 
+
On IRC some guys suggested compiling with Visual Studio 2005 instead.
{|class="collapsible" style="border-style:solid;border-width:thin;border-color:black"
 
!align="left" style="background-color:#FF9933; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"| Compile with VS 2005 Instead
 
|-
 
|mconner and dbaron on the #developers on irc://moznet.org suggested I try to compile the profile build using Visual Studio 2005. My other build environment is XP (32bit), VS 2008 and Vista SDK.  For testing purposes I should check if VS 2005 and Vista SDK compile then VS 2008 by itself.  I'll probably use VirtualBox to make it easier.
 
 
 
The actual error to my compiling with VS 2008 is found under Project Details.
 
|}
 
 
 
 
</blockquote>
 
</blockquote>
 
   </li>
 
   </li>
  
   <li>Sept 24, 2008
+
   <li><span style="color:green">Sept 24, 2008</span>
 
<blockquote>
 
<blockquote>
 
+
Attempted to compile with debug and test disabled. Still Failed.
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
 
!align="left" style="background-color:#FF9933; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"|PGO build with no debug or tests
 
|-
 
|I Compiled Firefox with disable debug and tests and I did not receive any assertions but the build still failed to compile. :( 
 
|}
 
 
</blockquote>  </li>
 
</blockquote>  </li>
  
   <li>Sept 22th, 2008
+
   <li><span style="color:green">Sept 22th, 2008</span>
 
<blockquote>
 
<blockquote>
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
+
Failed to compile Firefox with PGO on Visual Studio 2008.
!align="left" style="background-color:#FF9933; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"|Firefox and PGO
 
|-
 
|I built Firefox with the command <code>make -f client.mk profiledbuild</code>.  This first compiles Firefox with extra code that watches the activity in Firefox and creates profile data to optimize Firefox.  After Firefox is compiled it runs a script that loads the browser.  While the browser it is outputting profile data about the activity. After the browser is closed it compiles again but this time using the profile data to optimize Firefox to run faster on Windows.<br /> <br />
 
During the compiling of Firefox I received a lot of warnings.  Then Minefield loaded and after typing in an URL an Assertion happened.  Firefox closed and continue to compile using the profile data but it failed with errors.  I tried again this time just closing the browser after it started but again it failed to compile with the profile data.<br /><br />
 
I'll post the output and error logs online.
 
Here are some of the errors.
 
 
 
Here is link to build [http://zenit.senecac.on.ca/wiki/imgs/Sept22build-.zip output].
 
|}
 
 
</blockquote>
 
</blockquote>
 
   </li>
 
   </li>
  
   <li>
+
   <li><span style="color:green">Sept 20th, 2008</span>
Sept 20th, 2008
 
 
<blockquote>
 
<blockquote>
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
+
Successfully compiled one old assignment using PGO in Visual StudioResults in Project Details.
!align="left" style="background-color:#FF9933; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"|Compiled an old assignment with PGO
 
|-
 
|My previous attempts at compiling the old assignment failed because I was including object files that were compiled with a different compiler. OopsI was successful at creating a PGO build with an old assignment.  The results are under Project Details<br />
 
 
 
<br />
 
I think I will look at the optimization data to figure out how it optimized my application.  I also need to build an optimized version of Firefox and run it.  I know it has bugs or crashes, that is the point of this project so I also need to figure out how to compile and debug Firefox in Visual Studio.   <br /><br />
 
|}
 
 
</blockquote>
 
</blockquote>
 
   </li>
 
   </li>
  
   <li>Sept 19th, 2008
+
   <li><span style="color:green">Sept 19th, 2008</span>
 
<blockquote>
 
<blockquote>
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
+
Tried to compile some old assignments using PGO in Visual Studio. Two assignments failed.
!align="left" style="background-color:#FF9933; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"|Working with PGO
 
|-
 
|Working with some old assignments in c and c++ I tried to compile these programs with pgo options but the linker failed on both projects. Also tried from inside of Visual Studio 2008 but received compilation errors.
 
|}
 
 
</blockquote>
 
</blockquote>
 
   </li>
 
   </li>
  
   <li>Sept 18th, 2008
+
   <li><span style="color:green">Sept 18th, 2008</span>
 
<blockquote>
 
<blockquote>
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
+
Created this Project Page.
!align="left" style="background-color:#FF9933; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"|Created Project Page
 
|-
 
|I created this page for the project and added it to the list of Projects.
 
|}
 
 
</blockquote>
 
</blockquote>
 
   </li>
 
   </li>
  
   <li>Sept 17th, 2008
+
   <li><span style="color:green">Sept 17th, 2008</span>
 
<blockquote>
 
<blockquote>
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
+
Created First Build of Firefox.
!align="left" style="background-color:#FF9933; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"|Created First Build
 
|-
 
|I walked through the Mozilla documentation for how to build Firefox. I started [http://developer.mozilla.org/en/Mozilla_Source_Code_(Mercurial) here] with getting the source code and continued until I received errors.  Humph and Ted on IRC helped me sort it out and I successfully built Firefox.
 
|}
 
 
</blockquote>
 
</blockquote>
 
   </li>
 
   </li>
  
   <li>Sept 15th, 2008
+
   <li><span style="color:green">Sept 15th, 2008</span>
 
<blockquote>
 
<blockquote>
{|class="collapsible collapsed" style="border-style:solid;border-width:thin;border-color:black"
+
Met with Ted Mielczarek and discuss PGO Project.
!align="left" style="background-color:#FF9933; font-weight:bold;border-style:solid;border-width:thin;padding: 2px 2px 2px 2px;"|Met with Ted Mielczarek
 
|-
 
|On Tuesday after the conference was over I met with Ted and we discussed how I can get started on the PGO Project.
 
|}
 
 
</blockquote>
 
</blockquote>
 
   </li>   
 
   </li>   
 
</ul>
 
</ul>

Revision as of 23:02, 26 September 2008

Project Name

PGO Related Bugs

Project Description

Firefox crashes or experiences bugs after creating PGO builds on Windows. The focus of this project is to determine what is causing these crashes or bugs and either patch/fix them or find solutions to allow for the optimizations without incurring the problems.

Project Leader(s)

Chris Bishop

Project Contributor(s)

- None so far but that will change.

NOTE: only Project Leader(s) should add names here. You can’t add your own name to the Contributor list.

Project Tasks

Task Details Priority Status Target Link(s)
Compile Firefox PGO Compile the trunk of Firefox using make -f client.mk profiledbuild. High Done 0.1 R
Reproduce PGO Bugs or Crashes I need to reproduce the bugs or crashes other people were experiencing with their pgo builds. High Not Started 0.1 R
Compile Firefox PGO Tests Compile Firefox with VS 2005 and Vista SDK and compile with VS 2008 w/o Vista SDK. low Not Started 0.3 R

Project Details

Errors

Build Environment: Windows XP (32-bit) Visual Studio 2008 Vista SDK



Performance


Project News

September 2008


  • Sept 26th, 2008

    Successfully compiled Firefox with PGO using Visual Studio 2005 compiler. Tests and debug are disabled.

  • Sept 26th, 2008

    On IRC some guys suggested compiling with Visual Studio 2005 instead.

  • Sept 24, 2008

    Attempted to compile with debug and test disabled. Still Failed.

  • Sept 22th, 2008

    Failed to compile Firefox with PGO on Visual Studio 2008.

  • Sept 20th, 2008

    Successfully compiled one old assignment using PGO in Visual Studio. Results in Project Details.

  • Sept 19th, 2008

    Tried to compile some old assignments using PGO in Visual Studio. Two assignments failed.

  • Sept 18th, 2008

    Created this Project Page.

  • Sept 17th, 2008

    Created First Build of Firefox.

  • Sept 15th, 2008

    Met with Ted Mielczarek and discuss PGO Project.