https://bugs.kde.org/show_bug.cgi?id=353192

--- Comment #24 from Fredrik Tolf <[email protected]> ---
By the way, for anyone else with the same issue (and for myself in the future),
I just got the latest Valgrind that Debian has again, and the patch needed to
be extended this time. This is the current state of the patch:

--- valgrind-3.24.0.orig/coregrind/m_debuginfo/debuginfo.c
+++ valgrind-3.24.0/coregrind/m_debuginfo/debuginfo.c
@@ -1270,10 +1270,10 @@ ULong VG_(di_notify_mmap)( Addr a, Bool
    is_ro_map = False;

 #  if defined(VGA_x86) || defined(VGA_ppc32) || defined(VGA_mips32) \
-      || defined(VGA_mips64) || defined(VGA_nanomips)
+      || defined(VGA_mips64) || defined(VGA_nanomips) || defined(VGA_amd64)
    is_rx_map = seg->hasR && seg->hasX;
    is_rw_map = seg->hasR && seg->hasW;
-#  elif defined(VGA_amd64) || defined(VGA_ppc64be) || defined(VGA_ppc64le)  \
+#  elif defined(VGA_ppc64be) || defined(VGA_ppc64le)  \
         || defined(VGA_arm) || defined(VGA_arm64)
    is_rx_map = seg->hasR && seg->hasX && !seg->hasW;
    is_rw_map = seg->hasR && seg->hasW && !seg->hasX;
--- valgrind-3.24.0.orig/coregrind/m_debuginfo/readelf.c
+++ valgrind-3.24.0/coregrind/m_debuginfo/readelf.c
@@ -3881,7 +3881,7 @@ Bool ML_(check_elf_and_get_rw_loads) ( I

    ElfXX_Ehdr ehdr_m;
    Elf64_Word flag_x;
-#if defined(VGA_amd64) || defined(VGA_ppc64be) || defined(VGA_ppc64le) ||
defined(VGA_arm) || defined(VGA_arm64)
+#if defined(VGA_ppc64be) || defined(VGA_ppc64le) || defined(VGA_arm) ||
defined(VGA_arm64)
    flag_x = PF_X;
 #else
    flag_x = 0;

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to