Re: Should we stop stripping static libraries?

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

 



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 to fix the linker to not include debug symbols first.
> 
> 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 ask for it is counter-intuitive.

> I think specifying -s if you want a binary without debugging information
> is an acceptable workaround.

It may be, but the default would be counter-intuitive.

Siddhesh
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux