Created attachment 105496 [details] switch to __BIONIC__ in a couple of places that were missing Android x86-64 support AOSP has valgrind 3.12 with only a few small patches (https://android.googlesource.com/platform/external/valgrind/+/master/ANDROID_PATCH_AGAINST_UPSTREAM.txt). three of them already have bugs here, but i couldn't find one for x86-64 support. attached is a patch against svn HEAD to just test for __BIONIC__ since these are both places where you're interested in "what libc is this?" rather than actually having per-arch details to worry about.