[22487] in Kerberos

home help back first fref pref prev next nref lref last post

Re: binaries not stripped

daemon@ATHENA.MIT.EDU (Tim Mooney)
Fri Sep 17 15:26:29 2004

Date: Fri, 17 Sep 2004 14:07:41 -0500 (CDT)
From: Tim Mooney <mooney@dogbert.cc.ndsu.nodak.edu>
To: kerberos@mit.edu
In-Reply-To: <1095437623.82797.39.camel@flagg>
Message-ID: <Pine.OSF.4.60.0409171403440.459560@dogbert.cc.ndsu.NoDak.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Errors-To: kerberos-bounces@mit.edu

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@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
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post