ppc64le: expected localentry:0 `pthread_condattr_destroy'

Nick Clifton nickc@redhat.com
Fri Jul 28 11:04:00 GMT 2017


Hi Alan,

> So will linking with -Wl,--no-plt-localentry

Naive question - how does this optimization get enabled ?

My reading of the code is that ppc64elf.em initialises the plt_localentry0
field in the params structure to -1, and then elf64-ppc.c:ppc64_elf_tls_setup()
sets the field to either 1 or 0 depending upon whether the GLIB_2.26 symbol
exists.  But - Fedora rawhide is using glibc 2.25, so the symbol should not
exist, and so the optimization should not be enabled... right ?

Cheers
  Nick




More information about the Libc-alpha mailing list