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

            Bug ID: 485487
           Summary: glibc built with -march=x86-64-v3 does not work due to
                    ld.so strcmp
    Classification: Developer tools
           Product: valgrind
           Version: 3.23 GIT
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: memcheck
          Assignee: jsew...@acm.org
          Reporter: fwei...@redhat.com
  Target Milestone: ---

Created attachment 168460
  --> https://bugs.kde.org/attachment.cgi?id=168460&action=edit
valgrind-amd64-redir-strcmp.patch

This was originally observed as a glibc test case failure:

    [PATCH] x86_64: Suppress false positive valgrind error
   
<https://inbox.sourceware.org/libc-alpha/20240226000326.3844791-1-hjl.to...@gmail.com/>

However, the analysis was incorrect, and the test failure actually shows that
the newly built glibc is incompatible with valgrind. I think it's necessary to
add a redirector for strcmp.

We see this in Fedora with valgrind-3.22.0-7.fc40.x86_64, which already has one
AVX2 inline strcmp fix applied.

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

Reply via email to