Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nostrip - why shouldn't I use it?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
mr-simon
Guru
Guru


Joined: 22 Nov 2002
Posts: 367
Location: Leamington Spa, Warks, UK

PostPosted: Sun Dec 19, 2004 4:06 am    Post subject: nostrip - why shouldn't I use it? Reply with quote

What is the penalty for using FEATURES="nostrip"?

I'm finding that whenever I have a problem, I can solve it much more easily if I have symbols in my binaries.

What are the tradeoffs for having stripped binaries? Why does this happen by default? What am I missing if I add FEATURES="nostrip" to my make.conf? Performance? Disk space? Ram?
_________________
"Pokey, are you drunk on love?"
"Yes. Also whiskey. But mostly love... and whiskey."
Back to top
View user's profile Send private message
seank
l33t
l33t


Joined: 08 Jul 2004
Posts: 686

PostPosted: Sun Dec 19, 2004 4:16 am    Post subject: Reply with quote

Well, it definitetly makes your binary larger thus taking up more disk space and I'm sure there is a slight slow-down of the binary's execution, but probably nothing too noticable (hopefully someone else comments on performance issues). If its helpful for you, I would do it.
Back to top
View user's profile Send private message
Archangel1
Veteran
Veteran


Joined: 21 Apr 2004
Posts: 1212
Location: Work

PostPosted: Sun Dec 19, 2004 4:29 am    Post subject: Reply with quote

AFAIK it's mostly binary size. Performance is indrectly impacted through binaries being larger, which means more space on disk > longer to load, and more space in RAM/cache, which may cause the odd cache miss.

I doubt this is really that significant if you're doing a lot of debugging and it's causing you problems.
Back to top
View user's profile Send private message
mr-simon
Guru
Guru


Joined: 22 Nov 2002
Posts: 367
Location: Leamington Spa, Warks, UK

PostPosted: Sun Dec 19, 2004 5:15 pm    Post subject: Reply with quote

Archangel1 wrote:
AFAIK it's mostly binary size. Performance is indrectly impacted through binaries being larger, which means more space on disk > longer to load, and more space in RAM/cache, which may cause the odd cache miss.

I doubt this is really that significant if you're doing a lot of debugging and it's causing you problems.


Thanks, that's good to know. I usually run most of my machines at ~x86, which does make for the occasional crash/wierdness, and I like trying to figure out what's wrong. As long as I've got some spare RAM, I'll leave it switched on.
_________________
"Pokey, are you drunk on love?"
"Yes. Also whiskey. But mostly love... and whiskey."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum