]> git.ipfire.org Git - thirdparty/valgrind.git/commit
add_hardwired_spec for ld-linux-x86-64.so.2 memcmp
authorMark Wielaard <mark@klomp.org>
Wed, 12 Mar 2025 12:57:19 +0000 (13:57 +0100)
committerMark Wielaard <mark@klomp.org>
Wed, 12 Mar 2025 13:25:24 +0000 (14:25 +0100)
commit2c17a8a3e865816ee48e7f78148bbc7240c2a38c
tree7a5578b23ef1766ab289e4db5cbeffff76e852bd
parentec7335142384ec9da66871036803b96319b590eb
add_hardwired_spec for ld-linux-x86-64.so.2 memcmp

With RPATH processing ld.so compiled for x86-64-v3 uses an optimized
avx2 memcmp (bcmp) which causes (false postive) memcheck invalid reads
of size 32 warnings.

Fix this my adding a hardwire spec with a simpler memcmp for
ld-linux-x86-64.so.2.

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

Authored-by: Florian Weimer <fweimer@redhat.com>
(cherry picked from commit 9ffdeb4927b8505cc5a9ea54f608f4972166bb0e)
NEWS
coregrind/m_redir.c
coregrind/m_trampoline.S
coregrind/pub_core_trampoline.h