From: Petr Vorel <pvorel@suse.cz>
To: Wei Gao <wegao@suse.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] clone10.c failed on 32bit compilation
Date: Fri, 16 Jan 2026 08:07:08 +0100 [thread overview]
Message-ID: <20260116070708.GA556902@pevik> (raw)
In-Reply-To: <aWmqFAzdtsR0t5aJ@autotest-wegao.qe.prg2.suse.org>
FYI the patch is invalid. It should have been:
diff --git include/lapi/tls.h include/lapi/tls.h
index a067872e0f..eee77899e8 100644
--- include/lapi/tls.h
+++ include/lapi/tls.h
@@ -64,7 +64,7 @@ static inline void init_tls(void)
tls_ptr = allocate_tls_area();
tls_desc = SAFE_MALLOC(sizeof(*tls_desc));
memset(tls_desc, 0, sizeof(*tls_desc));
- tls_desc->entry_number = -1;
+ tls_desc->entry_number = 13;
tls_desc->base_addr = (unsigned long)tls_ptr;
tls_desc->limit = TLS_SIZE;
tls_desc->seg_32bit = 1;
@@ -72,7 +72,7 @@ static inline void init_tls(void)
tls_desc->read_exec_only = 0;
tls_desc->limit_in_pages = 0;
tls_desc->seg_not_present = 0;
- tls_desc->useable = 1;
+ tls_ptr = tls_desc;
#else
tst_brk(TCONF, "Unsupported architecture for TLS");
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2026-01-16 7:07 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-16 3:01 [LTP] clone10.c failed on 32bit compilation Wei Gao via ltp
2026-01-16 7:07 ` Petr Vorel [this message]
2026-01-20 13:13 ` Li Wang via ltp
2026-01-21 4:14 ` Wei Gao via ltp
2026-01-21 7:28 ` Li Wang via ltp
2026-01-21 8:11 ` Li Wang via ltp
2026-01-21 9:39 ` Wei Gao via ltp
2026-01-20 12:58 ` Li Wang via ltp
2026-01-21 4:09 ` Wei Gao via ltp
2026-01-21 7:25 ` Li Wang via ltp
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:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260116070708.GA556902@pevik \
--to=pvorel@suse.cz \
--cc=ltp@lists.linux.it \
--cc=wegao@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.