Memcmp not redirectable which valgrind needs

valgrind:  A must-be-redirected function
valgrind:  whose name matches the pattern:      memcmp
valgrind:  in an object with soname matching:   ld-linux-x86-64.so.2
valgrind:  was not found whilst processing
valgrind:  symbols from the object with soname: ld-linux-x86-64.so.2

I think it would be best if manjaro adds a test suite/rules to check important development tools like valgrind are able to function properly so that posts like this don’t occur anymore. This certainly isn’t the 1st post of it’s kind (Unable to use Valgrind) however that thread focused on missing strlen. If there’s no docs stating what symbols valgrind looks for then a simple way to grab them would be to just make every symbol not redirectable, run valgrind to catch it’s output on the matter, then restore their redirectable state if valgrind complained they’re missing.

Edit: Since context was asked for then I’ll give (though I don’t see the relevance in this case). I was making a custom multi-expression parser with the goal of being embedable like subreg is but with backtracking functionality and glob support and most importantly cross-abi (not just cross-platform) safe when I came across this issue whilst tracking down stack corruption (which was caused by my code and has been fixed). I’m also making a custom heap allocator which will offer both a valgrind hooked api and non valgrind hooked api (like malloc’s debug vs release but this one is in both, a wrapper function will handle calling the developer decided callback if the default is not in use).