[ale] Bash Bug: size of bash?

Michael H. Warfield mhw at wittsend.com
Mon Sep 2 22:44:48 EDT 1996


dZothMuellarg enscribed thusly:

> Hi,
> I have rebuilt bash 1.14.6 and 1.14.7 and it builds on hte first try.

> The only problem is it is huge compared to the existing bash (1.14.5)

> -rwxr-xr-x   1 root     root       299296 Nov  2  1995 /bin/bash

> -rwxrwxr-x   1 root     root      1506543 Sep  2 21:00 bash

> Quite a difference!

	Did you strip it?  Binaries, fresh from the compiler usually
have debugging symbol tables and such imbedded.  If the compiler was
run with the -g debugging option, you get MORE.  The program "strip"
will remove that information, leaving you with a simple runable binary.
You just can tell very much from it if you have to debug it.

	Try running "strip bash" and see what you have left then.  It will
not affect anything about how the program runs.

> Now I have not installed the new bash, but it does run.  Is there an
> option I should use to compress it?  Is .6 and up that much bigger?
> Any one else see this?
> 
> All of the other shells are in line with the original:
> -rwxr-xr-x   1 root     root        61217 Nov  2  1995 /bin/ash*
> -rwxr-xr-x   1 root     root       299296 Nov  2  1995 /bin/bash*
> -rwxr-xr-x   1 root     root       104864 Nov  2  1995 /bin/csh*
> -rwxr-xr-x   1 root     root       154889 Oct 31  1995 /bin/ksh*
> -rwx------   1 root     root           44 Jan 22  1996 /bin/tail.sh*
> -rwxrwxr-x   1 root     root       252496 Nov  2  1995 /bin/tcsh*
> -rwxr-xr-x   1 root     root       293865 Nov  2  1995 /bin/zsh*
> 
> on crl:
> ---x--x--x  1 root       147456 Jan 20  1994 /usr/bin/csh
> ---x--x--x  1 root       131072 Oct 19  1993 /usr/bin/ksh
> ---x--x--x  1 root       106496 Jan 20  1994 /usr/bin/sh
> 
> -- 
> Later,
> ZOT                                                        zot at crl.com
> Home Page:   http://www.crl.com/~zot/home.html
> Improv Page: http://www.crl.com/~zot/improv.html

-- 
 Michael H. Warfield    |  (770) 985-6132   |  mhw at WittsEnd.com
  (The Mad Wizard)      |  (770) 925-8248   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!






More information about the Ale mailing list