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

Re: lintian, strip --strip-unneeded, section, and priority



On Wed, 5 Dec 2001, Adrian Bunk wrote:

> On Wed, 5 Dec 2001, Dale Scheetz wrote:
> 
> > I'm working on Lars' lodju package and get some warnings from lintian that
> > I don't understand.
> >...
> > 1. Does --strip-unneeded not work correctly? I realize that I can remove
> > these sections with the -R option, I'm just curious why strip and lintian
> > don't agree about what sections are unneeded.
> 
> These sections aren't needed and footnote 1 in section 11.2. of our policy
> states that you might remove them in shared libraries and the same is
> true for executables and static libraries..

I certainly understand that. My question was: Why doesn't 'strip
--strip-unneeded' actually do what is requested?

The '-R .note -R .comment' options work just fine, I just don't know why I
need to do that. It seems redundant. "Please remove all unneeded symbols,
and by the way remove .note and .comment unneeded symbols as well."

Shouldn't --strip-unneeded do the right thing?

Luck,

Dwarf
--
_-_-_-_-_-   Author of "Dwarf's Guide to Debian GNU/Linux"  _-_-_-_-_-_-
_-                                                                    _-
_- aka   Dale Scheetz                   Phone:   1 (850) 656-9769     _-
_-       Flexible Software              11000 McCrackin Road          _-
_-       e-mail:  dwarf@polaris.net     Tallahassee, FL  32308        _-
_-                                                                    _-
_-_-_-_-_-  Released under the GNU Free Documentation License   _-_-_-_-
              available at: http://www.polaris.net/~dwarf/



Reply to: