summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-07-20 00:35:31 +0100
committerSam James <sam@gentoo.org>2023-07-20 00:55:06 +0100
commitc7245f6d8e9fd787dd859cbb39930e5a1288ef3a (patch)
treeae5d89e746791a04d14fa68ed75701251f27615c /dev-libs/elfutils/files/elfutils-0.189-skip-DT_RELR-failing-tests.patch
parentsys-auth/oath-toolkit: add 2.6.9 (diff)
downloadgentoo-c7245f6d8e9fd787dd859cbb39930e5a1288ef3a.tar.gz
gentoo-c7245f6d8e9fd787dd859cbb39930e5a1288ef3a.tar.bz2
gentoo-c7245f6d8e9fd787dd859cbb39930e5a1288ef3a.zip
dev-libs/elfutils: drop stale patches, fix tests w/ mawk
Thank you again to mjw for pointing this out! Drop two stale patches: - elfutils-0.177-disable-large.patch: see https://sourceware.org/bugzilla/show_bug.cgi?id=24158#c3. - elfutils-0.175-disable-biarch-test-PR24158.patch: see https://sourceware.org/bugzilla/show_bug.cgi?id=28975. Add two test patches: - elfutils-0.189-skip-DT_RELR-failing-tests.patch - elfutils-0.189-tests-run-lfs-symbols.sh-needs-gawk.patch Import musl patches to files/ so all of them are in the same place (there's no longer a huge musl patch for error.h so this is fine): - elfutils-0.189-musl-aarch64-regs.patch - elfutils-0.189-musl-macros.patch Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/elfutils/files/elfutils-0.189-skip-DT_RELR-failing-tests.patch')
-rw-r--r--dev-libs/elfutils/files/elfutils-0.189-skip-DT_RELR-failing-tests.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/elfutils/files/elfutils-0.189-skip-DT_RELR-failing-tests.patch b/dev-libs/elfutils/files/elfutils-0.189-skip-DT_RELR-failing-tests.patch
new file mode 100644
index 000000000000..0ffe75d93d31
--- /dev/null
+++ b/dev-libs/elfutils/files/elfutils-0.189-skip-DT_RELR-failing-tests.patch
@@ -0,0 +1,39 @@
+We know these tests fail with DT_RELR (https://sourceware.org/bugzilla/show_bug.cgi?id=28495)
+so skip for now.
+--- a/tests/run-elflint-self.sh
++++ b/tests/run-elflint-self.sh
+@@ -18,5 +18,8 @@
+
+ . $srcdir/test-subr.sh
+
++# XFAIL b/c no DT_RELR support yet (https://sourceware.org/bugzilla/show_bug.cgi?id=28495)
++exit 77
++
+ testrun_on_self ${abs_top_builddir}/src/elflint --quiet --gnu-ld
+ testrun_on_self_compressed ${abs_top_builddir}/src/elflint --quiet --gnu-ld
+--- a/tests/run-strip-strmerge.sh
++++ b/tests/run-strip-strmerge.sh
+@@ -17,6 +17,9 @@
+
+ . $srcdir/test-subr.sh
+
++# XFAIL b/c no DT_RELR support yet (https://sourceware.org/bugzilla/show_bug.cgi?id=28495)
++exit 77
++
+ # Generate a file with merged .shstrtab/.strtab table.
+ # strip and unstrip it. Check all files with elflint.
+
+diff --git a/tests/run-reverse-sections-self.sh b/tests/run-reverse-sections-self.sh
+index 71afd6a..87de933 100755
+--- a/tests/run-reverse-sections-self.sh
++++ b/tests/run-reverse-sections-self.sh
+@@ -17,6 +17,9 @@
+
+ . $srcdir/test-subr.sh
+
++# XFAIL b/c no DT_RELR support yet (https://sourceware.org/bugzilla/show_bug.cgi?id=28495)
++exit 77
++
+ test_reverse_self ()
+ {
+ in_file="$1"