From c815c39cdde01aa25776bdf3d0a6c08d7be9dd91 Mon Sep 17 00:00:00 2001 From: "jabber.developer2" Date: Fri, 24 Apr 2026 15:41:44 +0300 Subject: [PATCH] ci: fix Valgrind startup failure on Arch via DEBUGINFOD_URLS Arch Linux ships a stripped ld-linux-x86-64.so.2, so Valgrind cannot find the memcmp/memcpy/strlen symbols it must redirect and exits at startup with "Fatal error at startup: a function redirection which is mandatory for this platform-tool combination cannot be set up". debuginfod is already installed in the image but was never wired up. Set DEBUGINFOD_URLS to the official Arch debuginfod server so Valgrind fetches the missing glibc debug symbols on demand and caches them. --- ci/Dockerfile.arch | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/Dockerfile.arch b/ci/Dockerfile.arch index 7f1088b1..55516871 100644 --- a/ci/Dockerfile.arch +++ b/ci/Dockerfile.arch @@ -2,6 +2,9 @@ FROM archlinux:latest ENV TERM=xterm ENV CC="ccache gcc" +# Arch ships a stripped ld-linux; Valgrind needs glibc debug symbols to +# redirect memcmp/memcpy/strlen. debuginfod fetches them on demand. +ENV DEBUGINFOD_URLS=https://debuginfod.archlinux.org RUN pacman -Syyu --noconfirm