[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Policy for stripping binaries



Richard Braakman <dark@xs4all.nl> writes:

> 
> On Sat, Apr 21, 2001 at 04:44:24PM -0400, Bob Hilliard wrote:
> >      gcc apparently creates sections `.note' and `.comment' when compiling
> > binaries.  Running either `strip' or the -s option to install does not
> > remove these redundant sections.  Lintian issues a warning
> > `binary-has-unneeded-section' when it detects these sections in a
> > binary. 
> 
> install -s _does_ remove those sections.  It was patched for it
> around the time that the tag was added to Lintian (though long
> before Shaleh raised it to a warning).  You could have easily
> found this out by trying it.

     I stand corrected.  I thought I had tried it, but I see I that
I checked `strip -s' and `LDFLAGS = -s'.  (I thought my rules file
included `install-s', but on checking, I see it had `LDFLAGS = -s'.)

Bob
-- 
   _
  |_)  _  |_       Robert D. Hilliard      <hilliard@debian.org>
  |_) (_) |_)      1294 S.W. Seagull Way   <bob@bobhilliard.net>
                   Palm City, FL  USA      GPG Key ID: 390D6559 
                                           PGP Key ID: A8E40EB9
                                            



Reply to: