On Wed, Jul 15, 2020 at 04:03:41PM +0200, Graham Leggett wrote:
> On 15 Jul 2020, at 15:35, Joe Orton <jor...@redhat.com> 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.

This is not consistent with what you posted before.  Looking again, the 
old configure output you posted has:

checking for gettid()... yes

note the (), which is only possible if you haven't re-run buildconf.  
Re-run buildconf and configure, and if the build still fails please 
provide the full config.log somewhere so I can try to understand what's 
going on.

Reply via email to