Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
find-debuginfo.sh: decompress DWARF compressed ELF sections
debugedit and dwz do not support DWARF compressed ELF sections, let's
just decompress those before extracting debuginfo.

Tested-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
  • Loading branch information
Mark Wielaard authored and ffesti committed Jul 27, 2018
1 parent df6ca7a commit 1c3bf3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/find-debuginfo.sh
Expand Up @@ -357,6 +357,9 @@ do_file()
get_debugfn "$f"
[ -f "${debugfn}" ] && return

echo "explicitly decompress any DWARF compressed ELF sections in $f"
eu-elfcompress -q -p -t none "$f"

echo "extracting debug info from $f"
# See also cpio SOURCEFILE copy. Directories must match up.
debug_base_name="$RPM_BUILD_DIR"
Expand Down

0 comments on commit 1c3bf3d

Please sign in to comment.