Re: [PATCH v2 2/3] c: Update TLS model after processing a TLS variable

2025-09-20 Thread Joseph Myers
On Fri, 5 Sep 2025, H.J. Lu wrote: > Set a tentative TLS model in grokvardecl and update TLS mode with the > default TLS access model after a TLS variable has been fully processed > if the default TLS access model is stronger. > > gcc/c/ > > PR c/107419 > * c-decl.cc (c_decl_attribut

Re: [PATCH v2 2/3] c: Update TLS model after processing a TLS variable

2025-09-17 Thread H.J. Lu
On Fri, Sep 12, 2025 at 7:50 AM Joseph Myers wrote: > This breaks building glibc with linker errors for some configurations in > build-many-glibcs.py (loongarch64-linux-gnuf64 loongarch64-linux-gnusf > m68k-linux-gnu-coldfire m68k-linux-gnu-coldfire-soft or1k-linux-gnu). > > Representative linker

Re: [PATCH v2 2/3] c: Update TLS model after processing a TLS variable

2025-09-12 Thread Sam James
Joseph Myers writes: > This breaks building glibc with linker errors for some configurations in > build-many-glibcs.py (loongarch64-linux-gnuf64 loongarch64-linux-gnusf > m68k-linux-gnu-coldfire m68k-linux-gnu-coldfire-soft or1k-linux-gnu). > > Representative linker errors are as follows. Of c

Re: [PATCH v2 2/3] c: Update TLS model after processing a TLS variable

2025-09-12 Thread Joseph Myers
This breaks building glibc with linker errors for some configurations in build-many-glibcs.py (loongarch64-linux-gnuf64 loongarch64-linux-gnusf m68k-linux-gnu-coldfire m68k-linux-gnu-coldfire-soft or1k-linux-gnu). Representative linker errors are as follows. Of course assertion failures indica

Re: [PATCH v2 2/3] c: Update TLS model after processing a TLS variable

2025-09-12 Thread Joseph Myers
On Fri, 12 Sep 2025, H.J. Lu wrote: > On Fri, Sep 12, 2025 at 7:50 AM Joseph Myers wrote: > > > This breaks building glibc with linker errors for some configurations in > > build-many-glibcs.py (loongarch64-linux-gnuf64 loongarch64-linux-gnusf > > m68k-linux-gnu-coldfire m68k-linux-gnu-coldfire-

Re: [PATCH v2 2/3] c: Update TLS model after processing a TLS variable

2025-09-12 Thread H.J. Lu
On Fri, Sep 12, 2025 at 8:18 AM H.J. Lu wrote: > On Fri, Sep 12, 2025 at 7:50 AM Joseph Myers wrote: > >> This breaks building glibc with linker errors for some configurations in >> build-many-glibcs.py (loongarch64-linux-gnuf64 loongarch64-linux-gnusf >> m68k-linux-gnu-coldfire m68k-linux-gnu-c

[PATCH v2 2/3] c: Update TLS model after processing a TLS variable

2025-09-05 Thread H.J. Lu
Set a tentative TLS model in grokvardecl and update TLS mode with the default TLS access model after a TLS variable has been fully processed if the default TLS access model is stronger. gcc/c/ PR c/107419 * c-decl.cc (c_decl_attributes): Update TLS model with the default T