]> 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:12:43 +0000 (14:12 +0100)
commit9ffdeb4927b8505cc5a9ea54f608f4972166bb0e
treef0dd0f3eb8962e4ce7b359f7c1abeaef360ae4cd
parent9616164273be6bd91552683d0543170de27af852
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>
NEWS
coregrind/m_redir.c
coregrind/m_trampoline.S
coregrind/pub_core_trampoline.h