New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stripping changes #4661
stripping changes #4661
Conversation
fixes corrupt stack on arm
they are in my fork. but I removed like 75% of openelec packages there. you can find out with
also. binary addons will be unstripped now, too. in my git - I want em like that. |
whats the benefit from this all?, esp. not using "-s" for the linker? |
If this can improve the crashlog stack traces we get from libc on ARM when not building with debug then I'm all for it. It has increased the size of SYSTEM by 3.7MB (on RPi2) but that's to be expected. Maybe you could strip for release (as this has no crashlog support), partial strip for devel and not strip at all for debug? |
3.7MB is nothing, compared to (mostly unneeded) dvb/wlan firmware/drivers included, and nvidia drivers (now 2 drivers in generic..) I'd say keep it as-is ("partialy" stripped) on release builds, I converted gdb to an addon in my git, that's usable on release builds too, any backtrace is better than corrupted backtrace, or no backtrace at all. |
is that 3.7MB directly from not stripping glibc? I assume not. I'm just building now to see if there is anything else that can/should be stripped. |
Just the size diff between two builds. 3.7MB isn't a big deal if it's useful and better stacktraces would be useful. |
I've noticed that tvheadend and vdr-addon zips have increased in size somewhat (2.3MB and 180KB) since including this change... I guess we're not stripping these addons, is there anything to be gained by not stripping unofficial addons? |
Hmm, the add-ons should be stripped. Not sure why they aren't. |
not sure about this PR.... dont like it much actually unless i can see some benefits from this... |
you really dont see benefits of proper debugging? you must not be damn serious ;) |
Without this PR: http://sprunge.us/TRgH That's just running |
@sraue good to go? |
not really... |
The decision is either:
I think options number 1 is the better choice here. |
This is my only "concern" with this PR, otherwise I think it's proven it's worth several times already (in my test builds at least, with non-debug-enabled crashlogs now being useful when before this PR they were basically rubbish and only useful if you were really really lucky). |
picked and fixed up some commits from @stefansaraev
This changes the way that stripping works. @sraue please look over.
@stefansaraev if you want me to remove you as author of the commits let me know (because I had to fixup and reword some of the commits)
Are these all the packages that need stripping or are there others?