dbright: Win32 2004-05-11 (Trunk) (O2/GAL[6|7]/SSE(2)|MMX)

Discussion of third-party/unofficial Firefox/Thunderbird/SeaMonkey builds.
Post Reply
User avatar
dbright
Posts: 15
Joined: September 27th, 2003, 12:39 pm
Location: Charlotte, NC

dbright: Win32 2004-05-11 (Trunk) (O2/GAL[6|7]/SSE(2)|MMX)

Post by dbright »

Built using the free Visual C++ 2003 Toolkit, with much help from Tiermann, stipe, aebrahim, taiyo2, and many others.

I am now building SSE, SSE2, and Pentium MMX builds.

Now with -GL (Whole program optimization)!!

Get them here!!

Code: Select all

.mozconfig

. $topsrcdir/browser/config/mozconfig

ac_add_options --enable-crypto
ac_add_options --enable-static
ac_add_options --enable-strip
ac_add_options --enable-extensions=cookie,xml-rpc,xmlextras,p3p,pref,transformiix,universalchardet,typeaheadfind,webservices,inspector,venkman
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-mailnews
ac_add_options --disable-composer
ac_add_options --disable-ldap
ac_add_options --disable-profilesharing
ac_add_options --disable-shared
ac_add_options --disable-accessibility
ac_add_options --disable-activex
ac_add_options --disable-activex-scripting
ac_add_options --disable-installer
ac_add_options --disable-accessibility
ac_add_options --enable-svg
ac_add_options --enable-svg-renderer-gdiplus

# processor optimization options

# ac_add_options --enable-optimize="-O2 -GA -G7 -GL -arch:SSE2"
# ac_add_options --enable-optimize="-O2 -GA -G6 -GL -arch:SSE"
ac_add_options --enable-optimize="-Os -march=pentium-mmx -mmmx -mfpmath=387"

export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1
mk_add_options BUILD_OFFICIAL=1
mk_add_options MOZILLA_OFFICIAL=1
Last edited by dbright on May 11th, 2004, 5:47 pm, edited 16 times in total.
Dev box: P4 3.0GHz - 1Gb RAM - 480Gb total storage - Gentoo Linux
Laptop: P4 2.8GHz - 512Mb RAM - 60Gb total storage - Ubuntu Linux
User avatar
dbright
Posts: 15
Joined: September 27th, 2003, 12:39 pm
Location: Charlotte, NC

Post by dbright »

If anyone has any build requests, feel free to PM me.
Dev box: P4 3.0GHz - 1Gb RAM - 480Gb total storage - Gentoo Linux
Laptop: P4 2.8GHz - 512Mb RAM - 60Gb total storage - Ubuntu Linux
User avatar
Swiftdeathz
Posts: 107
Joined: March 5th, 2004, 9:55 pm

Post by Swiftdeathz »

Could you do the latest branch build with O2/G7/SSE? :)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050924 Firefox/1.0.7 (stipe s8v4)
Thunderbird version 1.0.5 (20050711)
WindowsXP SP2, Athlon64 3200+ (Venice), 1.5GB RAM
mmoy
Posts: 5030
Joined: February 17th, 2004, 9:05 pm
Location: New Hampshire
Contact:

Post by mmoy »

You might want to add GL for Global Optimization. The build takes longer and it helps to have more memory but should improve performance a bit.
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+
sasquatch
Posts: 6022
Joined: November 25th, 2003, 8:56 am

Post by sasquatch »

Latest branch with any patches and also calendar, zip build for PII and PIII?
User avatar
dbright
Posts: 15
Joined: September 27th, 2003, 12:39 pm
Location: Charlotte, NC

Post by dbright »

Thanks for the replies.

Swiftdeathz, sasquatch - I will start building with SSE starting with tomorrow (4/29)'s build. As for patches, I am trying to avoid the chaos that can result from multiple unverified patches, but if you have something in particular I will be glad to check it out. I WILL be patching things that are obvious (like the download error that was recently fixed) to me though.

mmoy - Thanks for the tip, I will be adding GL to all of my builds from now on.
Dev box: P4 3.0GHz - 1Gb RAM - 480Gb total storage - Gentoo Linux
Laptop: P4 2.8GHz - 512Mb RAM - 60Gb total storage - Ubuntu Linux
sasquatch
Posts: 6022
Joined: November 25th, 2003, 8:56 am

Post by sasquatch »

I'm pretty sure PII's can't use SSE. :-(
Malakai
Posts: 172
Joined: July 15th, 2003, 3:11 pm
Location: Florida
Contact:

Post by Malakai »

You forgot the visual c++ 7.1 runtime library buddy ;)

msvcr71.dll.

For people that don't have it, you can get it here:
www.dll-files.com
User avatar
dbright
Posts: 15
Joined: September 27th, 2003, 12:39 pm
Location: Charlotte, NC

Post by dbright »

sasquatch wrote:I'm pretty sure PII's can't use SSE. :-(


If you tell me what optimizations you want I'll be happy to set up a build for you.

Malakai wrote:You forgot the visual c++ 7.1 runtime library buddy ;)

msvcr71.dll.

For people that don't have it, you can get it here:
www.dll-files.com


Thanks, Im adding them to all subsequent builds.

Also, it appears that the -GL switch doesn't work with the Free VC++ toolkit, so my builds won't be using it.

EDIT: Late builds today, my build box died and I had to re-image it.
Dev box: P4 3.0GHz - 1Gb RAM - 480Gb total storage - Gentoo Linux
Laptop: P4 2.8GHz - 512Mb RAM - 60Gb total storage - Ubuntu Linux
Lost User 12105
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post by Lost User 12105 »

dbright wrote:
Also, it appears that the -GL switch doesn't work with the Free VC++ toolkit, so my builds won't be using it.

Hello, the people using VC7.1 (.NET 2003) had to make an alteration before they could use GL, as specified here:
http://forums.mozillazine.org/viewtopic ... 7&start=45

Don't know if this is the same problem you're having, but just in case. : )
User avatar
dbright
Posts: 15
Joined: September 27th, 2003, 12:39 pm
Location: Charlotte, NC

Post by dbright »

Awesome, thanks taiyo2, -GL is now (as of 05-02) working on my builds.

For those wanting -GL in their builds using VS.NET 2003/Free VC++:

You have to manually patch the file mozilla/js/src/xpconnect/src/Makefile.in

Comment out/delete these lines:

Code: Select all

ifeq ($(OS_ARCH),WINNT)
ifndef GNU_CXX
# use pre-compiled headers
CXXFLAGS   += -YX -Fp$(LIBRARY_NAME).pch
# precompiled headers require write access to .pch which breaks -j builds
.NOTPARALLEL::
endif
endif


(The last code block in the file)
Dev box: P4 3.0GHz - 1Gb RAM - 480Gb total storage - Gentoo Linux
Laptop: P4 2.8GHz - 512Mb RAM - 60Gb total storage - Ubuntu Linux
User avatar
moox
Posts: 923
Joined: February 29th, 2004, 1:07 am
Location: Wish I were in Alaska...

Post by moox »

:evil: Grrrrrrrr :evil:

I just tried the fix you posted above to be able to use /GL in the VC++ Toolkit and it did not work. I errored out with this instead:

Code: Select all

lib -NOLOGO -OUT:"xpcomglue_s.lib"  nsCOMPtr.obj nsComponentManagerUtils.obj nsDebug.obj nsGenericFactory.obj nsIInterfaceReq
uestorUtils.obj nsMemory.obj nsTraceRefcnt.obj nsWeakReference.obj
fatal error C1048: unknown option '7' in '-G7'
LIB : fatal error LNK1257: code generation failed
make[4]: *** [xpcomglue_s.lib] Error 233
make[4]: Leaving directory `/cygdrive/d/Dev/mozilla/mozilla/xpcom/glue'
make[3]: *** [libs] Error 2
make[3]: Leaving directory `/cygdrive/d/Dev/mozilla/mozilla/xpcom'
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/cygdrive/d/Dev/mozilla/mozilla'
make[1]: *** [alldep] Error 2
make[1]: Leaving directory `/cygdrive/d/Dev/mozilla/mozilla'
make: *** [alldep] Error 2

Back to the drawing board for now...
User avatar
dbright
Posts: 15
Joined: September 27th, 2003, 12:39 pm
Location: Charlotte, NC

Post by dbright »

Hmm... very odd indeed. I will have to double-check my paths and such to be sure, but it's working for me.

I will update this post if I find anything more.

EDIT: It appears that somehow my VS.NET paths were added without my knowledge to my default environment variables. I am still looking though, because I know that I built with -GL optimizations once before I even installed VS.NET. I was setting up a clean build machine today (which caused the late builds), so hopefully I will have something figured out soon.
Dev box: P4 3.0GHz - 1Gb RAM - 480Gb total storage - Gentoo Linux
Laptop: P4 2.8GHz - 512Mb RAM - 60Gb total storage - Ubuntu Linux
User avatar
dbright
Posts: 15
Joined: September 27th, 2003, 12:39 pm
Location: Charlotte, NC

Post by dbright »

Now building for SSE, SSE2, and Pentium-MMX
Dev box: P4 3.0GHz - 1Gb RAM - 480Gb total storage - Gentoo Linux
Laptop: P4 2.8GHz - 512Mb RAM - 60Gb total storage - Ubuntu Linux
User avatar
dbright
Posts: 15
Joined: September 27th, 2003, 12:39 pm
Location: Charlotte, NC

Post by dbright »

2004-05-11 is out. This is a late build that was pulled from CVS around 5PM EST.
Dev box: P4 3.0GHz - 1Gb RAM - 480Gb total storage - Gentoo Linux
Laptop: P4 2.8GHz - 512Mb RAM - 60Gb total storage - Ubuntu Linux
Post Reply