[PATCH v2 2/2] x86: Use separate variable for TLSDESC XSAVE/XSAVEC state size (bug 32810)
Florian Weimer
fweimer@redhat.com
Fri Mar 28 07:30:36 GMT 2025
* H. J. Lu:
>> +LDFLAGS-tst-gnu2-tls2-x86-noxsave += -Wl,-z,lazy
>> +LDFLAGS-tst-gnu2-tls2-x86-noxsavec += -Wl,-z,lazy
>> +LDFLAGS-tst-gnu2-tls2-x86-noxsavexsavec += -Wl,-z,lazy
>
> Shouldn't they be compiled with -mno-avx?
The entirety of glibc would have to be built with -mno-avx. I'll adjust
the first patch to disable the state adjustment if the glibc build
requires AVX.
Thanks,
Florian
More information about the Libc-alpha
mailing list