On 11/10/2016 12:16 PM, Florian Weimer wrote:
> We currently call /usr/lib/rpm/brp-strip-static-archive from
> %__os_install_post.  This removes debugging symbols from static (.a) 
> libraries.
> 
> Is this really a good idea?  Due to this, glibc copies libc.a to
> glibc-debuginfo, so that you can get a link with debugging symbols by
> specifying “-static -L/usr/lib/debug/usr/lib64“ (potentially with unintended
> side effects).  I would like to get this to work by default.
> 
> If developers does not want debugging symbols and static libraries have them,
> they can link with -s, or strip the linked object.
> 
> Thoughts?

Having run into difficulty with debugging programs linked to static libraries
before, I would like to see this fixed.  It seems like a reasonable plan, but
I don't have any technical knowledge here.

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       or...@nwra.com
Boulder, CO 80301                   http://www.nwra.com
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to