forked from pool/elfutils
Marcus Meissner
e9b6c82321
- Update to version 0.166: + config: The default program prefix for the installed tools is now eu-. Use configure --program-prefix="" to not use a program prefix. + Various bugfixes. - Drop elfutils-0.164-dt-ppc-opt.patch and elfutils-0.164-gcc6.patch (merged upstream) - Add patch elfutils-0.166-elfcmp-comp-gcc6.patch: fix self-comparison error with GCC 6. - Changes from 0.165: + Add eu-elfcompress + Add pkg-config files for libelf and libdw. OBS-URL: https://build.opensuse.org/request/show/404998 OBS-URL: https://build.opensuse.org/package/show/Base:System/elfutils?expand=0&rev=80
32 lines
1020 B
Diff
32 lines
1020 B
Diff
From: Takashi Iwai <tiwai@novell.com>
|
|
Subject: Fix for kernel debuginfo files
|
|
References: https://bugzilla.novell.com/show_bug.cgi?id=468247, comments 17-20
|
|
References: https://bugzilla.novell.com/show_bug.cgi?id=433182
|
|
|
|
Above BZ originally occured with Systemtap testsuite (stmt_rel.exp).
|
|
|
|
# stap -e 'probe kernel.statement("bio_put@fs/bio.c:*") {}'
|
|
semantic error: libdw failure (dwarf_getsrcfiles): invalid DWARF
|
|
...
|
|
---
|
|
|
|
|
|
libdw/dwarf_getsrclines.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
Index: elfutils-0.166/libdw/dwarf_getsrclines.c
|
|
===================================================================
|
|
--- elfutils-0.166.orig/libdw/dwarf_getsrclines.c 2016-03-02 17:25:38.000000000 +0100
|
|
+++ elfutils-0.166/libdw/dwarf_getsrclines.c 2016-06-27 14:23:58.787633776 +0200
|
|
@@ -404,8 +404,10 @@
|
|
/* Consistency check. */
|
|
if (unlikely (linep != header_start + header_length))
|
|
{
|
|
+#if 0
|
|
__libdw_seterrno (DWARF_E_INVALID_DWARF);
|
|
goto out;
|
|
+#endif
|
|
}
|
|
|
|
state.is_stmt = default_is_stmt;
|