Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4145 - Ability to strip debug flags doing emerge installation
Summary: Ability to strip debug flags doing emerge installation
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-25 11:36 UTC by David Nielsen
Modified: 2011-10-30 22:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Nielsen 2002-06-25 11:36:51 UTC
I don't know if we are doing this already, but I see many of the users already 
user -fomit-frame-pointer and that indicates to me that many don't need tp 
debug, so why not set a USE varible maybe to automatically strip the installed 
ebuild after ended compilation for it's debug flags:  
 
The command would be:  
strip --strip-debug filename  
 
the LFS project stats this numbers:  
A dynamic Bash binary with debugging symbols: 1.2 MB  
A dynamic Bash binary without debugging symbols: 478 KB  
/lib and /usr/lib (glibc and gcc files) with debugging symbols: 87 MB  
/lib and /usr/lib (glibc and gcc files) without debugging symbols: 16 MB  
 
That means a smaller install, and if I remember correctly a faster system, as 
the binary we have to load is smaller.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-09-03 17:05:08 UTC
This is already done by default.