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:
> 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
Santiago Vila <firstname.lastname@example.org>, current Debian flex maintainer.
-----BEGIN PGP SIGNATURE-----
-----END PGP SIGNATURE-----