sysconf(_SC_PAGESIZE) is called very early during sanitizer init and
any instrumented code (sysconf() wrapper/interceptor will likely be
instrumented) calling back to sanitizer before init is done will
most surely crash.
2nd attempt, now with glibc version checks (D31092 was reverted).
I would put the two ifdefs in sync
#if SANITIZER_LINUX && __GLIBC_PREREQ(2, 16)
define SANITIZER_USE_GETAUXVAL 1
#else
define SANITIZER_USE_GETAUXVAL 0
#endif
then use SANITIZER_USE_GETAUXVAL