binaries not stripped

Tim Mooney mooney at dogbert.cc.ndsu.NoDak.edu
Fri Sep 17 15:07:41 EDT 2004


In regard to: Re: binaries not stripped, Andrew Hall said (at 12:13pm on...:

> Thanks for the help.  When I run install-strip it fails with the
> following message:
>
> making install in kadmin/cli...
> make[3]: Entering directory
> `/export/home/halla3/krb5-1.3.5/src/kadmin/cli'
> ../../config/install-sh -c -s kadmin.local
> /tmp/drewkrb/sbin/kadmin.local
> ../../config/install-sh -c -s kadmin /tmp/drewkrb/sbin/kadmin
> ../../config/install-sh -c -s ./k5srvutil.sh /tmp/drewkrb/sbin/k5srvutil
> /usr/ccs/bin/sparcv9/strip: /tmp/drewkrb/sbin/_inst.20115_: invalid file
> type

Several platforms I know of have a `strip' that will return an error if
it's inadvertently run on something that's not a binary it understands.
MIT's Makefile's should either

- add a `-' to the front of any strip lines, so failure from strip doesn't
   cause the entire target to fail

or

- use something like

 	strip foo || true

so a "success" is always returned, even when strip fails.

Tim
-- 
Tim Mooney                              mooney at dogbert.cc.ndsu.NoDak.edu
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164


More information about the Kerberos mailing list