[RFC PATCH 2/2] x86: Alternative <sys/platform/x86.h> implementation

Florian Weimer fw@deneb.enyo.de
Sat Dec 26 15:34:10 GMT 2020


* H. J. Lu via Libc-alpha:

> We need to remove
>
> 000000000040ddd0  0000002f00000005 R_X86_64_COPY
> 000000000040ddd0 __x86_cpu_array@GLIBC_2.33 + 0

So the issue is that we initialize __x86_cpu_array in libc.so.6, but
the active copy is actually in the main program?  And that copy reloc
is processed after IFUNC resolvers in libm.so.6 read __x86_cpu_array,
observing zero data there?


More information about the Libc-alpha mailing list