tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: No space available for static Thread Local Storage



On Thu, Oct 22, 2026 at 09:00:09PM +0000, Taylor R Campbell wrote:
> > Date: Thu, 22 Oct 2026 19:34:43 +0200
> > From: Manuel Bouyer <bouyer%antioche.eu.org@localhost>
> > 
> > On Thu, Oct 22, 2026 at 05:25:36PM +0000, Taylor R Campbell wrote:
> > > > > any idea ?
> > > > 
> > > > Seems to be specific to php82. Using php84 works ...
> > > 
> > > Share `readelf -a output' of mod_php82.so and mod_php84.so?
> > 
> > Attached
> 
> Well, here's the difference:
> 
> --- readelf.mod_php82   2026-10-22 17:41:25.989146033 +0000
> +++ readelf.mod_php84   2026-10-22 17:41:56.256975805 +0000
> ...
> - 0x000000000000001e (FLAGS)              STATIC_TLS
> 
> Why does mod_php82.so use static TLS, a.k.a. TLS model `initial-exec'?
> 
> As a general rule, static TLS does not work in dynamically loadable
> objects -- hence the TLS model name `initial exec': it is only meant
> for the initial program image on exec, not anything loaded later.

No idea; both have been built from the same pkgsrc sources with the same
mk.conf ...

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index