[PATCH v7] LoongArch: Add support for TLS Descriptors
Joseph Myers
josmyers@redhat.com
Thu May 16 16:56:40 GMT 2024
On Wed, 8 May 2024, mengqinggang wrote:
> +# Disable the compiler from using LSX for TLS descriptor tests, or storing into
> +# 16B TLS variable may clobber FP/vector registers and prevent us from checking
> +# their contents.
> +CFLAGS-tst-gnu2-tls2mod0.c += -mno-lsx
> +CFLAGS-tst-gnu2-tls2mod1.c += -mno-lsx
> +CFLAGS-tst-gnu2-tls2mod2.c += -mno-lsx
This causes testsuite build failures with GCC 13, which doesn't support
-mno-lsx. I think you need to have a configure test for support for this
option, while GCC 13 is supported for building glibc for this
architecture. (We're not ready to move to GCC 14 as the default in
build-many-glibcs.py because of the hppa build failures there which still
need to be understood / fixed.)
--
Joseph S. Myers
josmyers@redhat.com
More information about the Libc-alpha
mailing list