RE: Rebuild mozilla from source results in large binaries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2003-12-29 at 22:21, Taylor, ForrestX wrote:
> > -----Original Message-----
> > On Mon, 2003-12-29 at 15:54, Taylor, ForrestX wrote:
> > > 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?
> > 
> > I just noticed the --disable-strip-libs option in the spec.  I changed
> > it to --enable-strip-libs to see if that helps.
> 
> This is looking like a one-sided conversation ;o)
> 
> I upgraded binutils and set --enable-strip-libs, both to no avail.  Does
> anyone know how the Red Hat developers rebuilt mozilla?
> 

have never built an rpm for mozilla, but look at the spec file for debug
settings... that may be it.
If its debugging symbols are enabled or something, that would explain
the huge size.




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux