Accepting request 874323 from home:marxin:home:marxin:gcc-periodic-testing-v2
- Remove debugedit.diff and include dwarf5.diff in order to support debug DWARF 5 that will be added with GCC 11. OBS-URL: https://build.opensuse.org/request/show/874323 OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=572
This commit is contained in:
parent
4e5271c594
commit
3a2ae999aa
@ -1,69 +0,0 @@
|
|||||||
Make debugedit build without dwarf.h
|
|
||||||
|
|
||||||
--- ./Makefile.am.orig 2019-06-26 14:17:31.394985722 +0000
|
|
||||||
+++ ./Makefile.am 2019-10-02 09:48:35.949316743 +0000
|
|
||||||
@@ -167,7 +167,6 @@ rpm2archive_LDADD += @WITH_POPT_LIB@ @WI
|
|
||||||
|
|
||||||
|
|
||||||
if LIBELF
|
|
||||||
-if LIBDWARF
|
|
||||||
if LIBDW
|
|
||||||
rpmconfig_SCRIPTS += scripts/find-debuginfo.sh
|
|
||||||
|
|
||||||
@@ -181,7 +180,6 @@ else
|
|
||||||
debugedit_LDADD += @WITH_LIBDW_LIB@ -lebl
|
|
||||||
endif # HAVE_LIBDW_STRTAB
|
|
||||||
endif # LIBDW
|
|
||||||
-endif # LIBDWARF
|
|
||||||
rpmlibexec_PROGRAMS += elfdeps
|
|
||||||
elfdeps_SOURCES = tools/elfdeps.c
|
|
||||||
elfdeps_LDADD = rpmio/librpmio.la
|
|
||||||
--- ./tools/debugedit.c.orig 2019-06-26 14:17:31.462985619 +0000
|
|
||||||
+++ ./tools/debugedit.c 2019-10-02 09:48:35.953316735 +0000
|
|
||||||
@@ -39,7 +39,45 @@
|
|
||||||
#include <popt.h>
|
|
||||||
|
|
||||||
#include <gelf.h>
|
|
||||||
-#include <dwarf.h>
|
|
||||||
+
|
|
||||||
+
|
|
||||||
+/* some defines taken from the dwarf standard */
|
|
||||||
+
|
|
||||||
+#define DW_TAG_compile_unit 0x11
|
|
||||||
+
|
|
||||||
+#define DW_AT_name 0x03
|
|
||||||
+#define DW_AT_stmt_list 0x10
|
|
||||||
+#define DW_AT_comp_dir 0x1b
|
|
||||||
+
|
|
||||||
+#define DW_FORM_addr 0x01
|
|
||||||
+#define DW_FORM_block2 0x03
|
|
||||||
+#define DW_FORM_block4 0x04
|
|
||||||
+#define DW_FORM_data2 0x05
|
|
||||||
+#define DW_FORM_data4 0x06
|
|
||||||
+#define DW_FORM_data8 0x07
|
|
||||||
+#define DW_FORM_string 0x08
|
|
||||||
+#define DW_FORM_block 0x09
|
|
||||||
+#define DW_FORM_block1 0x0a
|
|
||||||
+#define DW_FORM_data1 0x0b
|
|
||||||
+#define DW_FORM_flag 0x0c
|
|
||||||
+#define DW_FORM_sdata 0x0d
|
|
||||||
+#define DW_FORM_strp 0x0e
|
|
||||||
+#define DW_FORM_udata 0x0f
|
|
||||||
+#define DW_FORM_ref_addr 0x10
|
|
||||||
+#define DW_FORM_ref1 0x11
|
|
||||||
+#define DW_FORM_ref2 0x12
|
|
||||||
+#define DW_FORM_ref4 0x13
|
|
||||||
+#define DW_FORM_ref8 0x14
|
|
||||||
+#define DW_FORM_ref_udata 0x15
|
|
||||||
+#define DW_FORM_indirect 0x16
|
|
||||||
+
|
|
||||||
+#define DW_MACRO_GNU_define 1
|
|
||||||
+#define DW_MACRO_GNU_undef 2
|
|
||||||
+#define DW_MACRO_GNU_start_file 3
|
|
||||||
+#define DW_MACRO_GNU_end_file 4
|
|
||||||
+#define DW_MACRO_GNU_define_indirect 5
|
|
||||||
+#define DW_MACRO_GNU_undef_indirect 6
|
|
||||||
+#define DW_MACRO_GNU_transparent_include 7
|
|
||||||
|
|
||||||
|
|
||||||
/* Unfortunately strtab manipulation functions were only officially added
|
|
1959
dwarf5.diff
Normal file
1959
dwarf5.diff
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 22 12:57:44 UTC 2021 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
- Remove debugedit.diff and include dwarf5.diff in order to support
|
||||||
|
debug DWARF 5 that will be added with GCC 11.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 8 09:38:33 UTC 2021 - Andreas Schwab <schwab@suse.de>
|
Mon Feb 8 09:38:33 UTC 2021 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
5
rpm.spec
5
rpm.spec
@ -74,7 +74,6 @@ Source13: rpmconfigcheck.service
|
|||||||
Patch2: db.diff
|
Patch2: db.diff
|
||||||
Patch5: usr-lib-sysimage-rpm.patch
|
Patch5: usr-lib-sysimage-rpm.patch
|
||||||
# quilt patches start here
|
# quilt patches start here
|
||||||
Patch11: debugedit.diff
|
|
||||||
Patch13: ignore-auxv.diff
|
Patch13: ignore-auxv.diff
|
||||||
Patch12: localetag.diff
|
Patch12: localetag.diff
|
||||||
Patch15: dbfsync.diff
|
Patch15: dbfsync.diff
|
||||||
@ -129,6 +128,7 @@ Patch123: nextiteratorheaderblob.diff
|
|||||||
Patch127: finddebuginfo-check-res-file.patch
|
Patch127: finddebuginfo-check-res-file.patch
|
||||||
Patch128: empty_dbbackend.diff
|
Patch128: empty_dbbackend.diff
|
||||||
Patch129: ndbglue.diff
|
Patch129: ndbglue.diff
|
||||||
|
Patch130: dwarf5.diff
|
||||||
Patch6464: auto-config-update-aarch64-ppc64le.diff
|
Patch6464: auto-config-update-aarch64-ppc64le.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
#
|
#
|
||||||
@ -244,7 +244,7 @@ rm -f rpmdb/db.h
|
|||||||
cp build-aux/config.guess build-aux/config.sub db/dist/
|
cp build-aux/config.guess build-aux/config.sub db/dist/
|
||||||
%endif
|
%endif
|
||||||
%patch5 -p1
|
%patch5 -p1
|
||||||
%patch -P 11 -P 12 -P 13 -P 15 -P 16 -P 18
|
%patch -P 12 -P 13 -P 15 -P 16 -P 18
|
||||||
%patch -P 20 -P 21 -P 24 -P 25 -P 26 -P 27 -P 29
|
%patch -P 20 -P 21 -P 24 -P 25 -P 26 -P 27 -P 29
|
||||||
%patch -P 30 -P 32 -P 33 -P 34 -P 35 -P 36 -P 38
|
%patch -P 30 -P 32 -P 33 -P 34 -P 35 -P 36 -P 38
|
||||||
%patch -P 43 -P 45 -P 46 -P 47 -P 49
|
%patch -P 43 -P 45 -P 46 -P 47 -P 49
|
||||||
@ -256,6 +256,7 @@ cp build-aux/config.guess build-aux/config.sub db/dist/
|
|||||||
%patch -P 100 -P 102 -P 103
|
%patch -P 100 -P 102 -P 103
|
||||||
%patch -P 109 -P 117
|
%patch -P 109 -P 117
|
||||||
%patch -P 122 -P 123 -P 127 -P 128 -P 129
|
%patch -P 122 -P 123 -P 127 -P 128 -P 129
|
||||||
|
%patch130 -p1
|
||||||
|
|
||||||
%ifarch aarch64 ppc64le riscv64
|
%ifarch aarch64 ppc64le riscv64
|
||||||
%patch6464
|
%patch6464
|
||||||
|
Loading…
x
Reference in New Issue
Block a user