Summary: | Valgrind can't find symbols like strlen | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | KillerWasp <rmbeer2> |
Component: | general | Assignee: | Julian Seward <jseward> |
Status: | RESOLVED NOT A BUG | ||
Severity: | critical | CC: | mark, tom |
Priority: | NOR | ||
Version First Reported In: | 3.24 GIT | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Bug Depends on: | |||
Bug Blocks: | 495786 |
Description
KillerWasp
2024-11-03 20:02:35 UTC
Persisted from 3.19* of valgrind This is an issue with your system, not with valgrind, as explained in the very detailed error message. You either need to install the debug symbols for glibc or you need to persuade your distribution to be less aggressive about stripping symbols from the dynamic linker - they are needed for valgrind and there is nothing we can do to avoid needing them. IT'S A BUG!!!! NOT RESOLVED!!! my libraries already have debug info, even i compile it and use the new libraries with LD_LIBRARY_PATH=, and also export debug info and use ----extra-debuginfo-path= NEVER WORK!! complete line: LD_LIBRARY_PATH=/opt/MV1/usr/lib/valgrind/lib:/opt/MV1/usr/lib /opt/MV1/usr/bin/valgrind --extra-debuginfo-path=/opt/MV1/usr/lib/f/libc.dbg ./myapp Please discuss with your distro. It is stripping ld.so which is incompatible with running valgrind on your applications. See also https://sourceware.org/cgit/valgrind/tree/README_PACKAGERS *** Bug 495786 has been marked as a duplicate of this bug. *** Helloooo??? I'm not ask by the distro! I'm ask by the valgrind! Why instead of mess with the distro that has nothing to do with it, don't you tell me how to make valgrind support debugging information for strlen and everything else? AND STOP CLOSE THE THREAD!! All here are trolls??? (In reply to KillerWasp from comment #7) > Helloooo??? I'm not ask by the distro! I'm ask by the valgrind! > > Why instead of mess with the distro that has nothing to do with it, don't > you tell me how to make valgrind support debugging information for strlen > and everything else? The problem is with your distro. When ld.so is stripped valgrind cannot work. Please read the error message given and the README_PACKAGERS file that explains this limitation. |