This shows you the differences between two versions of the page.
|
ep:labs:04:contents:tasks:ex1 [2026/03/23 21:58] radu.mantu |
ep:labs:04:contents:tasks:ex1 [2026/03/24 12:23] (current) radu.mantu |
||
|---|---|---|---|
| Line 49: | Line 49: | ||
| </solution> | </solution> | ||
| + | <note tip> | ||
| + | **Troubleshooting** | ||
| + | ----- | ||
| + | On certain distributions such as CachyOS, you may get the following error: | ||
| + | <code> | ||
| + | valgrind: Fatal error at startup: a function redirection | ||
| + | valgrind: which is mandatory for this platform-tool combination | ||
| + | valgrind: cannot be set up. Details of the redirection are: | ||
| + | </code> | ||
| + | **valgrind** need the DWARF debug info for **libc** in order to function properly. If the ELF file itself doesn't have it, **valgrind** will try to use [[https://man.archlinux.org/man/debuginfod-find.1|debuginfod find]] to download it using the **Build ID** stored in the ''.note.gnu.build-id'' section. If the **debuginfod** server doesn't have it either, your only hope of getting it to work is: | ||
| + | * recompiling **glibc** with debug symbols (out of the question) | ||
| + | * starting a docker container with Ubuntu, Debian, Arch Linux, etc. | ||
| + | </note> | ||