find-debuginfo.sh: decompress DWARF compressed ELF sections
authorMark Wielaard <mark@klomp.org>
Sat, 21 Jul 2018 08:13:04 +0000 (10:13 +0200)
committerFlorian Festi <ffesti@redhat.com>
Fri, 27 Jul 2018 07:53:57 +0000 (09:53 +0200)
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>
scripts/find-debuginfo.sh

index 90a44942d524b0050051f119ebb541956013faee..7b01bc0361b60eb6fea4e1e799885d6e68f6c428 100755 (executable)
@@ -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"
This page took 0.068281 seconds and 5 git commands to generate.