On Tuesday 15 November 2016 08:03 PM, Adam Jackson wrote:
> One does not build _programs_ with/out -g. One builds objects, and
> links objects into programs.
Sorry I did not word that correctly - I do know that emitting debuginfo
is a compile time operation but I wanted to make the case that when
On Tue, 2016-11-15 at 10:57 +0530, Siddhesh Poyarekar wrote:
> On Monday 14 November 2016 02:18 PM, Florian Weimer wrote:
> > Is this really necessary? It's not the way ld currently works.
>
> It is necessary because the idea of unexpectedly finding debuginfo in
> their binaries when one did not
On Monday 14 November 2016 02:18 PM, Florian Weimer wrote:
> Do you suggest that gcc should invoke ld with -S, unless gcc was invoked
> with some -g flags or -s?
Ideal behaviour would be to make ld smarter about debuginfo but I don't
know if that is doable, so this should do.
>> Otherwise we need
On 11/14/2016 06:10 AM, Siddhesh Poyarekar wrote:
On Friday 11 November 2016 12:46 AM, 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, gli
On Friday 11 November 2016 12:46 AM, 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 t
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
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 “-stat