Building Firefox with -o2 optimization

Discussion about official Mozilla Firefox builds
Post Reply
dsimcha
Posts: 40
Joined: January 2nd, 2004, 6:50 pm

Building Firefox with -o2 optimization

Post by dsimcha »

It seems, since many unofficial builders have been building with -o2 optimizations lately, that the bugs relating to this have been fixed. Will the official builds soon be built with -o2 optimizations or are there still issues with o2? If so, what exactly are those issues?
MozJF
Posts: 2007
Joined: July 14th, 2003, 10:07 am
Location: Near Atlantic Ocean

Post by MozJF »

There is still a lot of bugs with -o2 optimisations.

MS VC++ 6.0 is the "official" compiler for win32 (not VC .Net), and -O2 optimization is kinda busted ; just look at this bug for example :

http://bugzilla.mozilla.org/show_bug.cgi?id=190043 and of course this othe r bug: http://bugzilla.mozilla.org/show_bug.cgi?id=136999
MozJF
mmoy
Posts: 5030
Joined: February 17th, 2004, 9:05 pm
Location: New Hampshire
Contact:

Post by mmoy »

We found a new one yesterday and figured out the code checkin that caused it this evening (we think). So I wouldn't exactly say we've conquered the O2 bugs yet.
Dell E521 X2 5600+ MacBookPro 17'' 2.5 Ghz Penryn Dell M1330 2.0 Ghz Merom 4 GB Vista x64 Compaq r3000z AMD 64 3200+ (Win 32/64) PowerMac G5 1.8 Ghz MMOY-1.5 (OSX 10) Inspiron 8500, 4100, 4000, Dimension 2300 MacBook Pro 2.2 Ghz HP E6600 HP X2 4400+
MozJF
Posts: 2007
Joined: July 14th, 2003, 10:07 am
Location: Near Atlantic Ocean

Post by MozJF »

Oh ? So, soon, -O2 for MSVC++ 6.0 builds ? Wow ;o)
MozJF
mmoy
Posts: 5030
Joined: February 17th, 2004, 9:05 pm
Location: New Hampshire
Contact:

Post by mmoy »

Well, it turned out to be a generic bug. I reproduced the crash with the official from 3/10. Mook is debugging the thing at the moment in the crc32 thread. Looks like some bad code checked in on 3/7.
Dell E521 X2 5600+ MacBookPro 17'' 2.5 Ghz Penryn Dell M1330 2.0 Ghz Merom 4 GB Vista x64 Compaq r3000z AMD 64 3200+ (Win 32/64) PowerMac G5 1.8 Ghz MMOY-1.5 (OSX 10) Inspiron 8500, 4100, 4000, Dimension 2300 MacBook Pro 2.2 Ghz HP E6600 HP X2 4400+
MozJF
Posts: 2007
Joined: July 14th, 2003, 10:07 am
Location: Near Atlantic Ocean

Post by MozJF »

Well, it looks like -O2 will not be on for MSVC++ 6.0 (don't have money to buy VC .net) before a long time ;o)
MozJF
Post Reply