Re: [gentoo-portage-dev] [PATCH] estrip: rework hard link logic in save_elf_debug

2021-10-28 Thread Mike Gilbert
On Wed, Oct 27, 2021 at 10:51 AM Alec Warner wrote: > Can we do better than X and Y here? The patch has gone through several revisions on Github. https://github.com/gentoo/portage/pull/763

Re: [gentoo-portage-dev] [PATCH] estrip: rework hard link logic in save_elf_debug

2021-10-27 Thread Alec Warner
On Mon, Oct 25, 2021 at 10:10 AM Mike Gilbert wrote: > > GDB loads debug files based on the file name given in the .gnu_debuglink > section, prepended with /usr/lib/debug/${dirname}, where dirname is the > absolute path to the parent directory of the binary being executed. > > For each unique

[gentoo-portage-dev] [PATCH] estrip: rework hard link logic in save_elf_debug

2021-10-25 Thread Mike Gilbert
GDB loads debug files based on the file name given in the .gnu_debuglink section, prepended with /usr/lib/debug/${dirname}, where dirname is the absolute path to the parent directory of the binary being executed. For each unique inode as input, we need a link to the debug file with the GNU