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

Re: Why does debstd strip non-debug libraries?



-----BEGIN PGP SIGNED MESSAGE-----

On Thu, 13 Mar 1997, hogendoorn r.a. wrote:

> While playing with flex 2.5.4, I discovered that libfl.a was stripped.
> Consequently, linking fails because the symbol yywrap is not defined in
> the library.

You are right.
I have uploaded flex-2.5.4-2 two hours ago :-)

It should be in all the Debian mirrors in a few days. In the meantime, you
can get that package from this site:

ftp://ftp.unex.es/pub/linux/debian/flex/flex_2.5.4-2_i386.deb

> I got the source of flex and rebuild my own copy of the debian package.
> It turned out that debstd strips all libraries, except the ones ending
> on _g.a. Why?

Policy says to strip all libraries. However it does not specify exactly
how this should be done. You may report that as a bug against debmake, if
it is not already reported.

strip -g on static libraries seems to work, so I have included a modified
debstd inside the new Debian flex source package (I didin't want to
rebuild without debstd just because it is not perfect :-).

Libraries ending in _g.a are usually debug libraries, so you don't want to
strip symbols in those libraries (or they would stop being debugging
libraries!).

Regards,

Santiago Vila <sanvila@unex.es>, current Debian flex maintainer.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: latin1

iQCVAgUBMyfhmSqK7IlOjMLFAQHsCwP9H+BcFDG4+f95OMGYKizYQmsq40NpvW6j
DrC2xXCAEeE88W273XZmrWRkKwFsnqPxwu5KJdWIittWWBS5UxEEvqPaIjDM/DqF
mhnlNjb1Kt5Ein0HXujzJwYFdbTubrLl475suofj/krB2wPUz94HJVK8JzdcHmFs
z/gkvK+KWMM=
=dbE2
-----END PGP SIGNATURE-----


Reply to: