Rebuild mozilla from source results in large binaries

Taylor, ForrestX forrestx.taylor at intel.com
Mon Dec 29 23:54:41 UTC 2003


I downloaded the updated mozilla-1.4.1-18.src.rpm, installed it and ran
`rpmbuild -bb mozilla.spec`.  The resulting rpm binaries are nearly
100MB.  mozilla-1.4.1-18.i386.rpm is 77MB, whereas the binary from Red
Hat is 15MB.

It looks like the /usr/lib/mozilla-1.4.1/components/ directory is 182MB
(20MB originally).  For example, libgklayout.so is 55MB in my rebuild
where it is 4.4MB in the original binary.  When I run `strip
/usr/lib/mozilla-1.4.1/components/libgklayout.so`, it strips it to
4.4MB.  I just installed the binutils upgrade, so I am trying that now. 
Does anyone have any other ideas?

Thanks,

Forrest






More information about the fedora-list mailing list