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?
Saturday October 18th, 2003 6:55 PM
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!
Saturday October 18th, 2003 7:08 PM
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.
#3 Re: It's huge!
Saturday October 18th, 2003 10:16 PM
> 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!
Sunday October 19th, 2003 1:30 AM
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
Monday October 20th, 2003 7:15 AM
The -Os flag in GCC 3 is actually pretty good.
#5 Re: Re: It's huge!
Sunday October 19th, 2003 3:37 AM
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!
Sunday October 19th, 2003 1:20 PM
Isn't Mozilla built with gcc on both Linux and FreeBSD?
#9 So why is it 5 megs bigger than the linux version?
Sunday October 19th, 2003 1:59 PM
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
#10 Re: So why is it 5 megs bigger than the linux vers
Sunday October 19th, 2003 6:44 PM
"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
Monday October 20th, 2003 7:14 AM
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!
Sunday October 19th, 2003 11:52 AM
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!
Monday October 20th, 2003 8:42 AM
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!
Tuesday October 21st, 2003 3:54 AM
-rw-r--r-- 1 root wheel 13012985 Oct 21 03:51 mozilla-firebird-0.7.tgz
Tuesday October 21st, 2003 4:03 AM
-rw-r--r-- 1 root wheel 11375582 Oct 21 03:51 mozilla-firebird-0.7.tbz
#7 Re: It's huge!
Sunday October 19th, 2003 12:32 PM
And btw, what's that gecko-sdk-i386-unknown-freebsd4.8.tar.gz thing there?
#11 Well the mac version is 15.3megs
Sunday October 19th, 2003 8:14 PM
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
Monday October 20th, 2003 4:26 PM
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?
Monday October 20th, 2003 4:22 PM
Looks like it has been removed again.
#19 Re: Removed?
Wednesday October 22nd, 2003 3:29 AM
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 ...