public inbox for
help / color / mirror / Atom feed
From: Szabolcs Nagy <>
Subject: [glibc] Fix elf/tst-dlmopen-twice not to exhaust static TLS
Date: Fri, 28 Oct 2022 17:44:12 +0000 (GMT)	[thread overview]
Message-ID: <> (raw);h=2eeeee7636cb52a09740598404808def17cf750e

commit 2eeeee7636cb52a09740598404808def17cf750e
Author: Szabolcs Nagy <>
Date:   Tue Oct 18 16:33:52 2022 +0100

    Fix elf/tst-dlmopen-twice not to exhaust static TLS
    By default glibc only allocates enough static TLS for 4 link namespaces
    including the initial one. So only use 3 dlmopens in the test.
    Reviewed-by: Florian Weimer <>

 elf/tst-dlmopen-twice.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/elf/tst-dlmopen-twice.c b/elf/tst-dlmopen-twice.c
index 70c71fe19c..a8d7e5e081 100644
--- a/elf/tst-dlmopen-twice.c
+++ b/elf/tst-dlmopen-twice.c
@@ -46,8 +46,8 @@ do_test (void)
   recurse (1);
   /* Then with nesting.  The constant needs to be less than the
-     internal DL_NNS namespace constant.  */
-  recurse (10);
+     glibc.rtld.nns tunable (which is 4 by default).  */
+  recurse (3);
   return 0;

                 reply	other threads:[~2022-10-28 17:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).