On 15 Jul 2020, at 15:35, Joe Orton <[email protected]> wrote: >> checking for gettid()... yes > > Interesting, can you provide the config.log and "rpm -q glibc"? With a > RHEL8 vm here it does not detect gettid (as I'd expect for glibc 2.28) > and builds fine.
A quick and dirty search across config.log shows this: [minfrin@bob httpd-trunk]$ cat config.log | grep gettid configure:8059: checking for gettid conftest.c:(.text+0xa): undefined reference to `gettid' | /* Define gettid to an innocuous variant, in case <limits.h> declares gettid. | #define gettid innocuous_gettid | which can conflict with char gettid (); below. | #undef gettid | char gettid (); | #if defined __stub_gettid || defined __stub___gettid | return gettid (); configure:8107: checking for gettid() via syscall ac_cv_func_gettid=no ap_cv_gettid=yes Looks like ac_cv_func_gettid is no but ap_cv_gettid is yes. [minfrin@bob httpd-trunk]$ rpm -q glibc glibc-2.28-72.el8_1.1.x86_64 A search for what ends up in the ap_config_auto.h shows this: [minfrin@bob httpd-trunk]$ grep -r GETTID include/ include/ap_config_auto.h:#define HAVE_GETTID 1 include/ap_config_auto.h.in:#undef HAVE_GETTID include/ap_config_auto.h.in:#undef HAVE_SYS_GETTID Regards, Graham —
