Bug 409581

Summary: bogus flag passed when building emacs cause bloat
Product: [Fedora] Fedora Reporter: dann
Component: emacsAssignee: Chip Coldwell <coldwell>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: emacs-22.2-4.fc9.i386 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-21 07:54:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description dann 2007-12-03 22:42:16 UTC
emacs-22.1-8.fc8 is built with:  -DSYSTEM_PURESIZE_EXTRA=16777216

This is a bad idea, it causes bloat: 

size -f /usr/bin/emacs-22.1
   text    data     bss     dec     hex filename
1611987 20719048              0 22331035        154be9b /usr/bin/emacs-22.1
Look at the data segment size. 
Compare that to an emacs I built:
size -f ~/bin/emacs
   text    data     bss     dec     hex filename
1360562 4074532       0 5435094  52eed6 /home/dann/bin/emacs

Why is SYSTEM_PURESIZE_EXTRA even set? It should not be needed by default.
If it is, then please let me know and I will fix it in emacs CVS.

Comment 1 Fedora Update System 2007-12-07 21:32:58 UTC
emacs-22.1-6.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update emacs'

Comment 2 dann 2008-01-17 13:54:59 UTC
(In reply to comment #1)
> emacs-22.1-6.fc7 has been pushed to the Fedora 7 testing repository.  If
problems still persist, please make note of it in this bug report.

I have emacs-22.1-8.fc8 and the problem still persists. 
size -f /usr/bin/emacs-22.1 
   text    data     bss     dec     hex filename
1611987 20719048              0 22331035        154be9b /usr/bin/emacs-22.1
        ^^^^^^^^^
       This is 16MB too big.