🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.netbsd.tech.userlevel
Article #29

Re: No space available for static Thread Local Storage

#29
From: Taylor R Campbell
Date: Thu, 22 Oct 2026 21:00
28 lines
2871 bytes
> Date: Thu, 22 Oct 2026 19:34:43 +0200
> From: Manuel Bouyer <bouyer@antioche.eu.org>
> 
> 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.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <20261022210010.7514884DB2@mail.netbsd.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <atpJM0EjxvwFvNwV@antioche.eu.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: Taylor R Campbell <riastradh@NetBSD.org>
Newsgroups: muc.lists.netbsd.tech.userlevel
Subject: Re: No space available for static Thread Local Storage
Date: Thu, 22 Oct 2026 21:00:09 +0000
Organization: Newsgate at muc.de e.V.
Sender: tech-userlevel-owner@NetBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <20261022210010.7514884DB2@mail.netbsd.org>
References: <atpJM0EjxvwFvNwV@antioche.eu.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="30206"; mail-complaints-to="news-admin@muc.de"
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org;
	s=20240131; t=1792702812;
	bh=TvY5Sl5sFUwUA6U03rPvIawmxN7G3wLmj5BNPvIWKjI=;
	h=To:CC:In-reply-to:Subject:Date:From:List-Id:List-Unsubscribe;
	b=yHe+NlKqAyKwJlj+rVaImizJVb781SXYiQjYzTwf9Xmyw8I50sQdbsNfvUlTjYy3b
	 y+Gk7QvdvVua7Id87ZFyBAXS7CAxNymzl5y/cZqjdKbJCVY5cQKbKB7cpLL5i6wxrC
	 UOQua33ojHM2OFo3qYZca2mjHI5aZvGpUmobWDhw=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netbsd.org;
	s=20240131; t=1792702810;
	bh=TvY5Sl5sFUwUA6U03rPvIawmxN7G3wLmj5BNPvIWKjI=;
	h=To:CC:In-reply-to:Subject:Date:From;
	b=bvIiQ1Aefd4/WeNSPZDzpBvJF6nfXypZ5wVj8NhILK2VqAjrBmoC2psdH5D9+yn0W
	 eYtJesYL4Y1PnDJvQI1hnQOj8mZJy705giXGkOO9XRpG+eOlRyH1s823h2ApQITYvO
	 YSPWtJvtOB7DI5s7RBgWnvCikJLN3zltNgS0H1mk=
In-reply-to: <atpJM0EjxvwFvNwV@antioche.eu.org> (bouyer@antioche.eu.org)
Precedence: bulk
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes