Re: Fedora 31 Self-Contained Change proposal: Minimal GDB in buildroot

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

 



On Fri, 26 Apr 2019 at 22:59, Ben Cotton <bcotton@xxxxxxxxxx> wrote:
https://fedoraproject.org/wiki/Changes/Minimal_GDB_in_buildroot

== Summary ==
Create <code>gdb-minimal</code> package (without XML support, Python
support, Syntax Highlight and such) and switch to it in buildroot.

== Owner ==
* Name: [[User:ignatenkobrain|Igor Gnatenko]], [[User:sergiodj|Sergio
Durigan Junior]]
* Email: ignatenkobrain@xxxxxxxxxxxxxxxxx, sergiodj@xxxxxxxxxxxx

== Detailed Description ==
Create subpackage in <code>gdb</code> source package called
<code>gdb-minimal</code> that will contain 2 files:
* <code>/usr/libexec/gdb-minimal</code> — GDB executable built without
optional unneeded features
* <code>/usr/bin/gdb-add-index</code> — Executable script shared with
gdb-headless package (modified to fallback to gdb-minimal if exists)
 
Hi Ben,

AFAIK that part of the gdb is used only to separate debuginfo in %post_install.
Some times ago IIRC for exactly the same operation was used eu-strip used -o to save stripped part in debuginfo files.
Even if eu-strip is not doing stripping correctly better would be better to fix it or modify binutils strip to implement -o option from elfutils strip.
Using gdb for saving debuginfo looks like overkill and elfutils is +10 smaller and depends only on glibc.

$ rpm -q --qf "%{NAME}\t%{SIZE}\n" gdb-headless elfutils
gdb-headless 18123356
elfutils 1245125

kloczek
-- 
Tomasz Kłoczko | LinkedIn: http://lnkd.in/FXPWxH
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [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