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

--- Comment #6 from Mark Wielaard <m...@klomp.org> ---
Urgh, somehow the VKI_SYNC_IOC_MERGE macro in valgrind is broken/wrong.

If you add this patch on top things should work.
Scratching my head now what we did wrong and why we need to hardcode the hex
value.

diff --git a/include/vki/vki-linux.h b/include/vki/vki-linux.h
index ccdb808af7a6..f10d9a2761e5 100644
--- a/include/vki/vki-linux.h
+++ b/include/vki/vki-linux.h
@@ -3884,8 +3884,8 @@ struct vki_sync_fence_info_data {
 #define VKI_SYNC_IOC_WAIT \
    _VKI_IOW(VKI_SYNC_IOC_MAGIC, 0, __vki_s32)

-#define VKI_SYNC_IOC_MERGE \
-   _VKI_IOWR(VKI_SYNC_IOC_MAGIC, 1, struct vki_sync_merge_data)
+#define VKI_SYNC_IOC_MERGE 0xc0303e03
+//    _VKI_IOWR(VKI_SYNC_IOC_MAGIC, 1, struct vki_sync_merge_data)

 #define VKI_SYNC_IOC_FENCE_INFO \
    _VKI_IOWR(VKI_SYNC_IOC_MAGIC, 2, struct vki_sync_fence_info_data)

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

Reply via email to