daihard: 2003-12-17 (Linux w/ DOMi, Venkman & AutoComp)

Discussion about official Mozilla Firefox builds
User avatar
daihard
Folder@Home
Posts: 16633
Joined: November 17th, 2002, 6:27 pm
Location: Lynnwood, WA
Contact:

daihard: 2003-12-17 (Linux w/ DOMi, Venkman & AutoComp)

Post by daihard »

XFT+GTK2

Feature: Inline AutoComplete, DOM inspector, Venkman Java Script Debugger

Location: http://pryan.org/firebird/daihard

Pentium 4 / SSE-2
Platform: Turbolinux 10
Compiler: GCC 3.3.1
GLIBC: 2.3.2
Opt. flag: "-O3 -march=pentium4 -msse2 -mfpmath=sse"
Requires P4 or later w/ SSE-2 support

Note: In order to enable Inline AutoComplete, you need to add the following line to your user.js:

Code: Select all

user_pref("browser.urlbar.autoFill", true);
Kubuntu 8.04 (kernel 2.6.24-25-generic) / KDE 3.5.10
CentOS 4.8 (kernel 2.6.9-78.0.22.ELsmp) / KDE 3.5.10
Mac OS X 10.6.1 (Snow Leopard) / iPhone 3GS (32GB black)
TheOneKEA
Posts: 4864
Joined: October 16th, 2003, 5:47 am
Location: Somewhere in London, riding the Underground

Post by TheOneKEA »

Is this a trunk build or a ->0.8 build?
Proud user of teh Fox of Fire
Registered Linux User #289618
User avatar
daihard
Folder@Home
Posts: 16633
Joined: November 17th, 2002, 6:27 pm
Location: Lynnwood, WA
Contact:

Post by daihard »

TheOneKEA wrote:Is this a trunk build or a ->0.8 build?

I pulled the source just like I normally do, so I'd imagine it's a trunk build.
Kubuntu 8.04 (kernel 2.6.24-25-generic) / KDE 3.5.10
CentOS 4.8 (kernel 2.6.9-78.0.22.ELsmp) / KDE 3.5.10
Mac OS X 10.6.1 (Snow Leopard) / iPhone 3GS (32GB black)
TheOneKEA
Posts: 4864
Joined: October 16th, 2003, 5:47 am
Location: Somewhere in London, riding the Underground

Post by TheOneKEA »

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031217 Firebird/0.7+ (daihard; XFT+GTK2; optimized for P4/SSE-2)

Works fine, despite the silly Add Bookmarks bug.

EDIT: BTW, just in case you thought that no one used your P3-SSE builds, I do: I installed your 20031216 build on my dedicated firewall box (yes, it has X and KDE and GTK - I know [-X )
Proud user of teh Fox of Fire
Registered Linux User #289618
User avatar
daihard
Folder@Home
Posts: 16633
Joined: November 17th, 2002, 6:27 pm
Location: Lynnwood, WA
Contact:

Post by daihard »

TheOneKEA wrote:EDIT: BTW, just in case you thought that no one used your P3-SSE builds, I do: I installed your 20031216 build on my dedicated firewall box (yes, it has X and KDE and GTK - I know [-X )

Thanks a lot. I figured someone would benefit from a PIII-SSE build. I just stole an old laptop at work and installed Turbolinux 10 on it. It's a PIII-500MHz Dell. I can finally seriously use my PIII build. :)
Kubuntu 8.04 (kernel 2.6.24-25-generic) / KDE 3.5.10
CentOS 4.8 (kernel 2.6.9-78.0.22.ELsmp) / KDE 3.5.10
Mac OS X 10.6.1 (Snow Leopard) / iPhone 3GS (32GB black)
User avatar
nilson
Posts: 4100
Joined: February 15th, 2003, 11:55 pm
Location: Tuscaloosa, Alabama
Contact:

Post by nilson »

What mozconfig are you using?
User avatar
daihard
Folder@Home
Posts: 16633
Joined: November 17th, 2002, 6:27 pm
Location: Lynnwood, WA
Contact:

Post by daihard »

nilson wrote:What mozconfig are you using?

The one found on my Firebird Web site, except for the optimization string. For the PIII-SSE build I use the following:

Code: Select all

"-O3 -march=pentium3 -msse -mfpmath=sse"
Kubuntu 8.04 (kernel 2.6.24-25-generic) / KDE 3.5.10
CentOS 4.8 (kernel 2.6.9-78.0.22.ELsmp) / KDE 3.5.10
Mac OS X 10.6.1 (Snow Leopard) / iPhone 3GS (32GB black)
User avatar
nilson
Posts: 4100
Joined: February 15th, 2003, 11:55 pm
Location: Tuscaloosa, Alabama
Contact:

Post by nilson »

So should this work fine:

Code: Select all

. $topsrcdir/browser/config/mozconfig
CC=gcc
CXX=g++
CPP=cpp
AS=as
LD=ld

ac_add_options --disable-accessibility
ac_add_options --disable-debug
ac_add_options --disable-tests
ac_add_options --enable-optimize
ac_add_options --enable-strip
ac_add_options --disable-installer

#OPTIMIZATION
#Pentium 4
ac_add_options --enable-optimize="-march=pentium4 -msse2 -mfpmath=sse -ffast-math -ffloat-store -fforce-addr -ftracer -Os"
#Pentium 3
#ac_add_options --enable-optimize="-march=pentium3 -msse -mmmx -mfpmath=sse -ffast-math -ffloat-store -fforce-addr -ftracer -Os"
#Pentium 2
#ac_add_options --enable-optimize="-march=pentium2 -mmmx -ffast-math -ffloat-store -fforce-addr -ftracer -Os"
#Pentium MMX
#ac_add_options --enable-optimize="-march=pentium-mmx -mmmx -ffast-math -ffloat-store -fforce-addr -ftracer -Os"
#Athlon XP
#ac_add_options --enable-optimize="-march=athlon-xp -mmmx -m3dnow -ffast-math -ffloat-store -fforce-addr -ftracer -Os"
#AMD K6-2
#ac_add_options --enable-optimize="-march=k6-2 -pipe -mmmx -m3dnow -ffast-math -ffloat-store -fforce-addr -ftracer -Os"


It's a mod of my Windows build script.
User avatar
daihard
Folder@Home
Posts: 16633
Joined: November 17th, 2002, 6:27 pm
Location: Lynnwood, WA
Contact:

Post by daihard »

nilson wrote:So should this work fine:

Code: Select all

. $topsrcdir/browser/config/mozconfig
CC=gcc
CXX=g++
CPP=cpp
AS=as
LD=ld

ac_add_options --disable-accessibility
ac_add_options --disable-debug
ac_add_options --disable-tests
ac_add_options --enable-optimize
ac_add_options --enable-strip
ac_add_options --disable-installer

#OPTIMIZATION
#Pentium 4
ac_add_options --enable-optimize="-march=pentium4 -msse2 -mfpmath=sse -ffast-math -ffloat-store -fforce-addr -ftracer -Os"
#Pentium 3
#ac_add_options --enable-optimize="-march=pentium3 -msse -mmmx -mfpmath=sse -ffast-math -ffloat-store -fforce-addr -ftracer -Os"
#Pentium 2
#ac_add_options --enable-optimize="-march=pentium2 -mmmx -ffast-math -ffloat-store -fforce-addr -ftracer -Os"
#Pentium MMX
#ac_add_options --enable-optimize="-march=pentium-mmx -mmmx -ffast-math -ffloat-store -fforce-addr -ftracer -Os"
#Athlon XP
#ac_add_options --enable-optimize="-march=athlon-xp -mmmx -m3dnow -ffast-math -ffloat-store -fforce-addr -ftracer -Os"
#AMD K6-2
#ac_add_options --enable-optimize="-march=k6-2 -pipe -mmmx -m3dnow -ffast-math -ffloat-store -fforce-addr -ftracer -Os"


It's a mod of my Windows build script.

The only thing that looks suspicious to me is the optimization for Pentium 4. Does the version of GCC you're using support "-march=pentium4"?
Kubuntu 8.04 (kernel 2.6.24-25-generic) / KDE 3.5.10
CentOS 4.8 (kernel 2.6.9-78.0.22.ELsmp) / KDE 3.5.10
Mac OS X 10.6.1 (Snow Leopard) / iPhone 3GS (32GB black)
User avatar
nilson
Posts: 4100
Joined: February 15th, 2003, 11:55 pm
Location: Tuscaloosa, Alabama
Contact:

Post by nilson »

I don't know... MingW GCC 3.2 did. I assume real GCC 3 will?

EDIT: /proc/version:

Code: Select all

Linux version 2.4.22-10mdk (nplanel@no.mandrakesoft.com) (gcc version 3.3.1 (Man drake Linux 9.2 3.3.1-2mdk)) #1 Thu Sep 18 12:30:58 CEST 2003
User avatar
daihard
Folder@Home
Posts: 16633
Joined: November 17th, 2002, 6:27 pm
Location: Lynnwood, WA
Contact:

Post by daihard »

nilson wrote:I don't know... MingW GCC 3.2 did. I assume real GCC 3 will?

EDIT: /proc/version:

Code: Select all

Linux version 2.4.22-10mdk (nplanel@no.mandrakesoft.com) (gcc version 3.3.1 (Man drake Linux 9.2 3.3.1-2mdk)) #1 Thu Sep 18 12:30:58 CEST 2003

When compiling on Linux, you do not need aliases like CC, CXX and LD. As for the version of GCC, I know from my experience that GCC 3.3.x works well with the "-march=pentium4" flag and GCC 3.2.x doesn't. I had to revert to "-mcpu=pentium4" to get around the problem when building with both GCC 3.2 (RH 8) and 3.2.3 (RH 7.3; my own install).
Kubuntu 8.04 (kernel 2.6.24-25-generic) / KDE 3.5.10
CentOS 4.8 (kernel 2.6.9-78.0.22.ELsmp) / KDE 3.5.10
Mac OS X 10.6.1 (Snow Leopard) / iPhone 3GS (32GB black)
User avatar
nilson
Posts: 4100
Joined: February 15th, 2003, 11:55 pm
Location: Tuscaloosa, Alabama
Contact:

Post by nilson »

Ok, thanks. If make -f client.mk checkout would just finish!!!
User avatar
daihard
Folder@Home
Posts: 16633
Joined: November 17th, 2002, 6:27 pm
Location: Lynnwood, WA
Contact:

Post by daihard »

nilson wrote:Ok, thanks. If make -f client.mk checkout would just finish!!!

It should, provided that you've already done "cvs login" from your machine at least once before.

[EDIT] (Of course, you also have to run "make -f client.mk build" to actually build Firebird....)
Kubuntu 8.04 (kernel 2.6.24-25-generic) / KDE 3.5.10
CentOS 4.8 (kernel 2.6.9-78.0.22.ELsmp) / KDE 3.5.10
Mac OS X 10.6.1 (Snow Leopard) / iPhone 3GS (32GB black)
User avatar
nilson
Posts: 4100
Joined: February 15th, 2003, 11:55 pm
Location: Tuscaloosa, Alabama
Contact:

Post by nilson »

daihard wrote:
nilson wrote:Ok, thanks. If make -f client.mk checkout would just finish!!!

It should, provided that you've already done "cvs login" from your machine at least once before.

[EDIT] (Of course, you also have to run "make -f client.mk build" to actually build Firebird....)
I know how to build. It just takes forever for this to finish. My tree is a few days old.

I didn't login... It will work if you simply "touch ~/.cvspass".
User avatar
daihard
Folder@Home
Posts: 16633
Joined: November 17th, 2002, 6:27 pm
Location: Lynnwood, WA
Contact:

Post by daihard »

nilson wrote:
daihard wrote:[EDIT] (Of course, you also have to run "make -f client.mk build" to actually build Firebird....)
I know how to build. It just takes forever for this to finish. My tree is a few days old.

I didn't login... It will work if you simply "touch ~/.cvspass".

You only need to log in once from one account, anyway. They have a pretty fast server now, which should help speed up the checkout process. With my P4-2.4GHz machine, it takes less than an hour to do a clobber build including the checkout.
Kubuntu 8.04 (kernel 2.6.24-25-generic) / KDE 3.5.10
CentOS 4.8 (kernel 2.6.9-78.0.22.ELsmp) / KDE 3.5.10
Mac OS X 10.6.1 (Snow Leopard) / iPhone 3GS (32GB black)
Post Reply