[valgrind] [Bug 435441] valgrind fails to interpose malloc on musl 1.2.2 due to weak symbol name and no libc soname

2021-11-04 Thread Michael Forney
https://bugs.kde.org/show_bug.cgi?id=435441 --- Comment #4 from Michael Forney --- Created attachment 143217 --> https://bugs.kde.org/attachment.cgi?id=143217&action=edit Patch to handle weak symbols as global Here's a patch that fixes the issue for me by setting *is_global_

[valgrind] [Bug 435441] valgrind fails to interpose malloc on musl 1.2.2 due to weak symbol name and no libc soname

2021-04-06 Thread Michael Forney
https://bugs.kde.org/show_bug.cgi?id=435441 --- Comment #2 from Michael Forney --- With --soname-synonyms=somalloc=libc.musl-x86_64.so.1 the warnings go away, but this is because it makes valgrind unable to track free as well as malloc: ==31116== HEAP SUMMARY: ==31116== in use at exit: 0

[valgrind] [Bug 435441] New: valgrind fails to interpose malloc on musl 1.2.2 due to weak symbol name and no libc soname

2021-04-06 Thread Michael Forney
https://bugs.kde.org/show_bug.cgi?id=435441 Bug ID: 435441 Summary: valgrind fails to interpose malloc on musl 1.2.2 due to weak symbol name and no libc soname Product: valgrind Version: unspecified Platform: Other