Re: binaries not stripped in NetBSD 2.0?

From: Karsten Kruse (tecneeq_at_gmx.net)
Date: 12/13/04


Date: Mon, 13 Dec 2004 07:19:12 +0100

Igor Sobrado wrote:
> Karsten Kruse <tecneeq@gmx.net> wrote:
>
>>I agree. You should write a bugreport with send-pr(1) if this is not
>>mentioned before. Check it here:
>>http://www.netbsd.org/Misc/query-pr.html#search
>
>
> Hi Karsten!
>
> James Chacon gave us a very good feedback on this issue. Extra bits
> are not debugging information but symbol information. It is useful
> for tracing binaries and does not increase the size of the operating
> system a lot.
>
> This is my reply to his comment about the PR. I will copy the
> email I sent here, because latest replies to other PRs never arrived
> to the PRs database (an issue with my MUA, nmh??? Who knows!)
>
> -------------------
> Comments: In-reply-to James Chacon <jmc@NetBSD.org>
> message dated "Thu, 09 Dec 2004 10:21:36 -0600."
>
>
>>On Thu, Dec 09, 2004 at 07:21:00AM +0000, igor@string1.ciencias.uniovi.es wrote:
>>
>>The file don't have debugging information in them (they aren't built w. -g).
>>
>>All stripping will do at this point is remove the rest of the symbol
>>information which makes getting stack traces from potential core dumps fairly
>>useless. It's adding no real overhead to the system and retaining that
>>symbol data is still useful. It's not the same as "debugging information".
>
>
> Hi James!
>
> I was not aware about this fact, I did not run gdb(1) on them. As
> symbol information was missing in earlier releases, I supposed it
> was a mistake on the compilation process.
>
> Now, it is obvious to me that the symbol information will help users
> providing higher quality feedback on the operating system errors.
> I am glad to see that this feature is available. I hope that this
> information will help improving the operating system quality
> even more!
>
> Please, close the PR. Nice to know that those extra bits are
> a feature, and not a mistake. Indeed, there is a big difference
> in providing symbols for support tracing binaries and the full
> source code for debugging.
>
> Cheers,
> Igor.

Right, i should have tested it before:

karsten@uberhost:~> cp /bin/sh sh ; du sh ; strip --strip-debug sh ; du sh

288 sh
288 sh

Karsten

-- 
         Homepage, Mac68k, A/UX-Links und Shorties: www.tecneeq.de
   ()    Linux/NetBSD-Anleitungen, Forum  und Chat: www.newbie-net.de
  <\/>
  _/\_   Debian - Yesterday's technology ... tomorrow.


Relevant Pages

  • Looking for help/suggestions for my cheap gaming machine.
    ... I'm looking for feedback on the following build list for a ... semi-cheap gaming machine. ... operating system, monitor, speakers and keyboard/mouse from my current ... This will be my first homebuilt machine and I'm looking primarily for ...
    (alt.comp.hardware.pc-homebuilt)
  • Re: OE6 -- delete on exit issue;
    ... A mention of the operating system you are using, along with the version number shown in Outlook Express Help/About menu would also be helpful. ... Please reply to newsgroup only so that others may be helped with your feedback. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Call to stop blaming the users -- make software more secure
    ... > operating system is the cornerstone to any 'safe' application, ... it was directly as a result of feedback from OpenVMS ...
    (comp.os.vms)
  • Re: Compacted messages not recoverable in OE6
    ... Operating system in use? ... Version of Outlook Express installed as shown in ... review the info in this article: ... Please deliver feedback to the newsgroup, so that others can be helped. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)

Quantcast