From 5f19afa98611568438b9598e434dee7cca1eeeda Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Mon, 19 Apr 2021 23:49:04 -0400 Subject: Update comments --- config_misc.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'config_misc.h') diff --git a/config_misc.h b/config_misc.h index ceb6d11d..c84577e2 100644 --- a/config_misc.h +++ b/config_misc.h @@ -191,9 +191,12 @@ # pragma GCC diagnostic ignored "-Wunused-function" #endif -// Should work for Clang 7 and above: https://stackoverflow.com/q/39958935. -// But Clang 10 is broke: https://bugs.llvm.org/show_bug.cgi?id=50025. -// And GCC only works on Linux. It pukes on Apple and Solaris platforms. +// Requires ifunc support: GCC 4.8, Binutils 2.20.1 and libc 2.11.1. +// Should work for Clang 7 and above: https://stackoverflow.com/q/39958935, +// but fails with Clang 10: https://bugs.llvm.org/show_bug.cgi?id=50025. +// Not available on Apple and Solaris platforms. Also see +// https://sourceware.org/glibc/wiki/GNU_IFUNC and +// https://gcc.gnu.org/onlinedocs/gcc/Function-Multiversioning.html. #if defined(__i386__) || defined(__i686__) || defined(__amd64__) # if defined(__linux__) && (CRYPTOPP_GCC_VERSION >= 40800) # include -- cgit v1.2.1