[arch-dev-public] Stripping of static libraries by makepkg

Dicebot public at dicebot.lv
Sun Sep 15 17:06:42 EDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/15/2013 09:42 PM, Dicebot wrote:
> My default makepkg.conf looks like this:
> 
> ``` STRIP_BINARIES="--strip-all" #-- Options to be used when
> stripping shared libraries. See `man strip' for details. 
> STRIP_SHARED="--strip-unneeded" #-- Options to be used when
> stripping static libraries. See `man strip' for details. 
> STRIP_STATIC="--strip-debug" ```
> 
> Is there any reasons why static libraries have "--strip-debug"
> instead of "--strip-unneeded"? I have noticed that because compiler
> package I maintain in [community] has produced bloated executables
> because of static linking with only partially stripped standard
> library. Are there any dangerous consequences from switching to
> "--string-unneeded"?
> 

Actually I got the answer from outside already, nevermind :)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.21 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSNiFiAAoJEHYfrWm6BsapJfEH+gNfJj+dJO41Htbus4UptjFd
3noAw1JKfxRFpA7gZgUxUplNYOI7V3ZvNHxk9v53GvECvnHOqUYQ7OFV4WncRlmw
IDbFSbkd/S5KTx433OXK1yY5Ehi5zZgV77fISWLukLif6FEKwjly46IOwd+1saSv
6+FApF+WPTFGqzGhl43Pima2bKDs6LXFWsjaeqR3P3pAYq4JFyLwMHN9kgSAYmQX
r8Jcp9vK+otL7g4EKDIQq6nz+eRdTjfz1XWq6y+1430WejYFWMWvHu9609SQG0N/
w4bknpCX9dOVqvmBDKqj9qbAH7YMk7l4QhfyGwD1W0P9lWMu0KQ3H4lDSgr5UpM=
=Wk4L
-----END PGP SIGNATURE-----


More information about the arch-dev-public mailing list