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

Policy for stripping binaries



     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. 

     I don't think lintian should warn about things that are permitted
by policy.  I propose that policy add a recommendation to use `strip
--remove-section=.comment --remove-section=.note' on binaries.

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: