summaryrefslogtreecommitdiff
path: root/experimental/elfutils/test-disable-backtrace.patch
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/elfutils/test-disable-backtrace.patch')
-rw-r--r--experimental/elfutils/test-disable-backtrace.patch59
1 files changed, 59 insertions, 0 deletions
diff --git a/experimental/elfutils/test-disable-backtrace.patch b/experimental/elfutils/test-disable-backtrace.patch
new file mode 100644
index 000000000..420e39215
--- /dev/null
+++ b/experimental/elfutils/test-disable-backtrace.patch
@@ -0,0 +1,59 @@
+With musl-dbg installed:
+
+FAIL: run-backtrace-native.sh
+=============================
+
+0x5633ee097000 0x5633ee29a000 /home/mcrees/packages/user/elfutils/src/elfutils-0.176/tests/backtrace-child
+0x7f59b75a3000 0x7f59b7850000 /lib/ld-musl-x86_64.so.1
+0x7fffddac8000 0x7fffddaca000 [vdso: 6946]
+TID 6946:
+# 0 0x7f59b75fad77 __restore_sigs
+# 1 0x7f59b75faf38 - 1 raise
+# 2 0x5633ee0979f3 - 1 main
+# 3 0x7f59b75c0e1c - 1 libc_start_main_stage2
+# 4 0x5633ee097b08 - 1 _start_c
+# 5 0x5633ee097adc - 1 _start
+TID 6947:
+# 0 0x7f59b75fad77 __restore_sigs
+/home/mcrees/packages/user/elfutils/src/elfutils-0.176/tests/backtrace: dwfl_thread_getframes: no matching address range
+Assertion failed: symname && strcmp (symname, "raise") == 0 (backtrace.c: callback_verify: 111)
+./test-subr.sh: line 84: 6945 Aborted (core dumped) LD_LIBRARY_PATH="${built_library_path}${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" $VALGRIND_CMD "$@"
+# 2 0x5633ee0979f3 - 1 main
+backtrace-child: neither empty nor just out of DWARF
+rmdir: failed to remove 'test-6939': Directory not empty
+FAIL run-backtrace-native.sh (exit status: 1)
+
+FAIL: run-backtrace-native-core.sh
+==================================
+
+0x7ffea8c6d000 0x7ffea8c6e000 linux-vdso.so.1
+0x7f174e2fb000 0x7f174e5aa2f8 ld-musl-x86_64.so.1
+0x56367bb22000 0x56367bd24078 backtrace-child
+TID 7019:
+# 0 0x7f174e352d77 __restore_sigs
+Assertion failed: symname && strcmp (symname, "raise") == 0 (backtrace.c: callback_verify: 111)
+./test-subr.sh: line 84: 7022 Aborted (core dumped) LD_LIBRARY_PATH="${built_library_path}${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH" $VALGRIND_CMD "$@"
+backtrace-child-core.7018: no main
+rmdir: failed to remove 'test-7010': Directory not empty
+FAIL run-backtrace-native-core.sh (exit status: 1)
+
+--- elfutils-0.176/tests/run-backtrace-native-core.sh 2019-02-15 15:46:47.000000000 +0000
++++ elfutils-0.176/tests/run-backtrace-native-core.sh 2019-07-18 10:03:51.589784665 +0000
+@@ -17,4 +17,7 @@
+
+ . $srcdir/backtrace-subr.sh
+
++echo "backtrace test broken on musl"
++exit 77
++
+ check_native_core backtrace-child
+--- elfutils-0.176/tests/run-backtrace-native.sh 2019-02-15 15:46:47.000000000 +0000
++++ elfutils-0.176/tests/run-backtrace-native.sh 2019-07-18 10:07:23.109783171 +0000
+@@ -17,4 +17,7 @@
+
+ . $srcdir/backtrace-subr.sh
+
++echo "backtrace test broken on musl"
++exit 77
++
+ check_native backtrace-child