| Summary: | ppc64le needs ld.so hardwire for strcmp | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | Mark Wielaard <mark> |
| Component: | memcheck | Assignee: | Mark Wielaard <mark> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | cel |
| Priority: | NOR | ||
| Version First Reported In: | 3.25 GIT | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Proposed hardwire | ||
|
Description
Mark Wielaard
2025-08-12 00:41:18 UTC
Created attachment 183979 [details]
Proposed hardwire
Tested on Fedora 43/Rawhide ppc64le setup. Pushed as: commit 78fe3625f6b8ed4de28527d71c4a98d70e5b3035 Author: Mark Wielaard <mark@klomp.org> Date: Mon Aug 18 15:30:47 2025 +0200 Add ppc64le linux hardwire for ld64.so.2 strcmp When dlopen is used we might end up in an assembly powerpc/strcmp.S variant that is optimized in a way memcheck cannot proof correct. We try to intercept strcmp in ld.so, but might fail when strcmp is called before our interception code is loaded. Having an hardwire for ld.so strcmp (earlier intercept) would solve this. https://bugs.kde.org/show_bug.cgi?id=508145 |