]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- revert change which causes debuginfo to fail like this:
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 23 Sep 2013 16:20:14 +0000 (18:20 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 23 Sep 2013 16:20:14 +0000 (18:20 +0200)
Failed to produce debuginfo: debug format not supported: .init

rpm-revert-debugedit-breakage.patch [new file with mode: 0644]

diff --git a/rpm-revert-debugedit-breakage.patch b/rpm-revert-debugedit-breakage.patch
new file mode 100644 (file)
index 0000000..752366b
--- /dev/null
@@ -0,0 +1,22 @@
+--- tools/debugedit.c  2013/08/08 15:53:36     2.23.2.10
++++ tools/debugedit.c  2013/08/08 16:39:05     2.23.2.11
+@@ -1632,17 +1632,11 @@
+         /* TODO: Handle stabs */
+         if (strcmp (name, ".stab") == 0)
+           {
++            fprintf (stderr, "Stabs debuginfo not supported: %s\n", file);
++            exit (1);
+-            fprintf (stderr, "Warning: Stabs debuginfo currently not supported: %s\n", file);
+-            break;
+           }
+-              /* The core DWARF data  containing DIEs */
+         if (strcmp (name, ".debug_info") == 0)
+           edit_dwarf2 (dso);
+-              else 
+-                       {
+-            fprintf (stderr, "Failed to produce debuginfo: debug format not supported: %s\n", name);
+-                              exit(1);
+-                       }
+         break;
+       case SHT_NOTE:
This page took 0.177513 seconds and 4 git commands to generate.