debugedit -b /home/abuild/rpmbuild/BUILD/xtables-addons-3.0 -d
/usr/src/debug/xtables-addons-3.0-0.x86_64 test.ko
results in
There are 41 section headers, starting at offset 0x870a8:
Section Headers:
[Nr] Name Type Address Offset
Size Ent
[xt_DHCPMAC.ko.gz](https://github.com/rpm-software-management/rpm/files/1859743/xt_DHCPMAC.ko.gz)
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/423#issuecomment-3771981
debugedit also can break gcc's crtstartup: https://bugs.gentoo.org/666954 . I
think it's the same issue. Will try to provide more detail today.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issue
I think in my case it happens because `debugedit` was not able to delete any
sections (no file size changes) but it reordered sections in the file and did
not update section offsets. Attaching original, mangled file and a
script:[__t.tar.gz](https://github.com/rpm-software-management/rpm/files/2
The following workaround allows to maintain original section order:
```diff
--- a/tools/debugedit.c
+++ b/tools/debugedit.c
@@ -2342,21 +2342,21 @@ fdopen_dso (int fd, const char *name)
}
if (elf_getphdrnum (elf, &phnum) != 0)
{
error (0, 0, "Couldn't get number of phdrs: %s",
Mark, any update on this? We (SUSE) get corrupt debuginfo files from time to
time because of this bug.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/423#issuecomment-487600464_
On Mon, Apr 29, 2019 at 02:24:33PM +, Michael Schroeder wrote:
> Mark, any update on this? We (SUSE) get corrupt debuginfo files from
> time to time because of this bug.
Apologies for the slow response. I looked at it before, but didn't
understand what was going wrong. But I now believe this
> But I now believe this is actually an elfutils libelf issue:
> https://sourceware.org/ml/elfutils-devel/2019-q2/msg00077.html Could you try
> that out and see if it resolves the issue for you? (The actual patch is just
> 3 lines, but there is also a larger testcase added to make sure the issu
Okay so this was confirmed fixed on elfutils side, we can close it here.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/423#issuecomment-542200334
Closed #423.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/423#event-2713882777___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rp
10 matches
Mail list logo