MozillaZine

FreeBSD Nightly Builds of Mozilla Firebird

Saturday October 18th, 2003

Neil Turner writes: "It looks like nightly builds of Mozilla Firebird for FreeBSD are now available, alongside Windows, Mac and Linux builds. Like all Firebird nightlies they can be downloaded from ftp.mozilla.org/pub/mozilla.org/firebird/nightly/latest-trunk."


#1 Why are they only in latest-trunk?

by jesse <jruderman@hmc.edu>

Saturday October 18th, 2003 6:55 PM

Reply to this message

Why do FreeBSD builds only appear in latest-trunk/? The other builds also appear in directories like 2003-10-18-09-trunk/.

#2 It's huge!

by adipose

Saturday October 18th, 2003 7:08 PM

Reply to this message

15 megs, jeez! I always wonder what the deciding factor in build size is. What's the excuse for FreeBSD?

I build it for FreeBSD occaisonally, but I never really measured the final build size.

-Dan

#3 Re: It's huge!

by bzbarsky

Saturday October 18th, 2003 10:16 PM

Reply to this message

> I always wonder what the deciding factor in build size is.

How good the compiler is. For example, given identical code compiled with g++ and MSVC++ the g++ object file is typically 50-100% bigger.

#4 Re: Re: It's huge!

by bzbarsky

Sunday October 19th, 2003 1:30 AM

Reply to this message

I should qualify that with "mozilla code" and "when MSVC++ is using the 'minimize size' optimization flag"... ;)

#13 And GCC is run without the "minimize size" flag

by abraham <abraham@dina.kvl.dk>

Monday October 20th, 2003 7:15 AM

Reply to this message

The -Os flag in GCC 3 is actually pretty good.

#5 Re: Re: It's huge!

by sparc

Sunday October 19th, 2003 3:37 AM

Reply to this message

Doesn't it also depend on the arch? e.g. isn't SPARC stuff just naturally bigger than x86 stuff?

#8 Re: Re: It's huge!

by willll <willll@juno.com>

Sunday October 19th, 2003 1:20 PM

Reply to this message

Isn't Mozilla built with gcc on both Linux and FreeBSD?

#9 So why is it 5 megs bigger than the linux version?

by adipose

Sunday October 19th, 2003 1:59 PM

Reply to this message

They are both compiled with the same compiler, aren't they?

There must be something specific to FreeBSD that causes this. Perhaps they statically linked in linux compat? j/k

-Dan

#10 Re: So why is it 5 megs bigger than the linux vers

by bzbarsky

Sunday October 19th, 2003 6:44 PM

Reply to this message

"same compiler" is a loose term... Eg Mozilla is the same browser on Linux and Windows, but some bugs and performance issues only exist on one or the other...

#12 Same compiler pretty specific

by abraham <abraham@dina.kvl.dk>

Monday October 20th, 2003 7:14 AM

Reply to this message

There is very little OS specific about the compiler proper, the CPU is more important. I'd expect identical code on both linux/ia32 and FreeBSF-ia32. However, the file format the code is stored in may differ, but I believe both Linux and FreeBSD uses Elf.

Maybe they use different versions of GCC, or different flags. Otherwise, it may be a linker issue. Does FreeBSD use GNU binutils?

#6 Re: It's huge!

by DavidGerard <fun@thingy.apana.org.au>

Sunday October 19th, 2003 11:52 AM

Reply to this message

Yeah, what the heck is up with that?! I've been using MozillaFirebird-i686-pc-linux-gnu.tar.gz running under linux-compat (works with linux_base-7) on FreeBSD so far.

Is it actually compiled with the same options? There must be some good reason why it's five meg bigger.

Anyone compiling their own build for FreeBSD? How big is the resulting tarball you get?

#14 Re: Re: It's huge!

by sremick

Monday October 20th, 2003 8:42 AM

Reply to this message

I just did a pkg_create on my FreeBSD 5.1-RELEASE system to test this, and the resulting file is:

-rw-r--r-- 1 root wheel 13419998 Oct 20 11:39 mozilla-firebird-0.7.tgz

#17 Re: Re: Re: It's huge!

by adipose

Tuesday October 21st, 2003 3:54 AM

Reply to this message

FreeBSD 4.9-STABLE:

-rw-r--r-- 1 root wheel 13012985 Oct 21 03:51 mozilla-firebird-0.7.tgz

#18 bzip2

by adipose

Tuesday October 21st, 2003 4:03 AM

Reply to this message

4.9-STABLE again:

-rw-r--r-- 1 root wheel 11375582 Oct 21 03:51 mozilla-firebird-0.7.tbz

#7 Re: It's huge!

by DavidGerard <fun@thingy.apana.org.au>

Sunday October 19th, 2003 12:32 PM

Reply to this message

And btw, what's that gecko-sdk-i386-unknown-freebsd4.8.tar.gz thing there?

#11 Well the mac version is 15.3megs

by pkb351 <pbergsagel@shaw.ca>

Sunday October 19th, 2003 8:14 PM

Reply to this message

Basically the core of OS X is FreeBSD and the Mac nightlies are 15.3megs so this doesn't appear to be too out of line size wise. Maybe Mac and unix users could use a more efficent compliler?

#16 Re: No, it isn't

by adipose

Monday October 20th, 2003 4:26 PM

Reply to this message

The nightlies for Mac are ~10 megs. Perhaps you are thinking of the Mozilla nightlies?

I was going to say before that the size of this freebsd build is suspiciously close the mozilla build size...

By the way, I can't find the FreeBSD build anymore--can anyone else?

-Dan

#15 Removed?

by tve

Monday October 20th, 2003 4:22 PM

Reply to this message

Looks like it has been removed again.

#19 Re: Removed?

by DavidGerard <fun@thingy.apana.org.au>

Wednesday October 22nd, 2003 3:29 AM

Reply to this message

My wife and I tried it for a while and it was problematic - on my 4.6.2-RELEASE box, it would stop making network connections after a few minutes' use; on her 4.8-RELEASE box, it consistently crashed on startup!

We went back to using the Linux build (which works very nicely on FreeBSD with linux_base-7 installed), and I was going to wait a week for the FreeBSD build to get better ...