Message ID | 20230103104515.324527-1-gfleury@disroot.org |
---|---|
Headers |
Return-Path: <libc-alpha-bounces+patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9BD173858017 for <patchwork@sourceware.org>; Tue, 3 Jan 2023 10:45:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9BD173858017 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1672742746; bh=A+YjsyB4mQD3NZuAspuN0av9VYgbyaupEZBqByN945c=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=P5WeioX2kegfzFX+g5MLA9Lp0BsCPnghDeMpyPkJTtN9WNwxMgnG7Cx4XrLrLwO4a Yx5YkvuNPdx1VmYW8sgdRTwJ1l8EZU86/CwTjMoUhmSeXsXIRFxWDOY+RyluI7myof ppyzMRXSrOOuW2st+eQRGbfi2x5JtIyFyLAolUyY= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from knopi.disroot.org (knopi.disroot.org [178.21.23.139]) by sourceware.org (Postfix) with ESMTPS id 90EC93858D1E for <libc-alpha@sourceware.org>; Tue, 3 Jan 2023 10:45:23 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 62211407FE; Tue, 3 Jan 2023 11:45:21 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1lIY72rZhEct; Tue, 3 Jan 2023 11:45:20 +0100 (CET) To: libc-alpha@sourceware.org Cc: bug-hurd@gnu.org Subject: [PATCH 0/3] htl: move __pthtread_total, ___pthread_self, pthread_self Date: Tue, 3 Jan 2023 12:45:12 +0200 Message-Id: <20230103104515.324527-1-gfleury@disroot.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> From: Guy-Fleury Iteriteka via Libc-alpha <libc-alpha@sourceware.org> Reply-To: Guy-Fleury Iteriteka <gfleury@disroot.org> Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces+patchwork=sourceware.org@sourceware.org> |
Series |
htl: move __pthtread_total, ___pthread_self, pthread_self
|
|
Message
Guy-Fleury Iteriteka
Jan. 3, 2023, 10:45 a.m. UTC
With this patch i boot up a hurd system with flavio scripts. Guy-Fleury Iteriteka (3): htl: move __pthtread_total into libc htl: move __pthread_self into libc. htl: move pthread_self into libc htl/Makefile | 3 +-- htl/Versions | 15 ++++++++++++--- htl/forward.c | 4 ---- htl/pt-create.c | 6 ------ htl/pt-initialize.c | 1 - htl/pt-internal.h | 2 ++ htl/pt-nthreads.c | 23 +++++++++++++++++++++++ htl/pt-self.c | 8 ++++++-- sysdeps/htl/pthread-functions.h | 2 -- sysdeps/mach/hurd/htl/pt-pthread_self.c | 22 ++++++++++++++++++++++ sysdeps/mach/hurd/htl/pt-sysdep.c | 2 -- sysdeps/mach/hurd/htl/pt-sysdep.h | 3 +++ sysdeps/mach/hurd/i386/libc.abilist | 2 ++ sysdeps/mach/hurd/i386/libpthread.abilist | 2 -- 14 files changed, 71 insertions(+), 24 deletions(-) create mode 100644 htl/pt-nthreads.c create mode 100644 sysdeps/mach/hurd/htl/pt-pthread_self.c
Comments
> With this patch i boot up a hurd system with flavio scripts.
Can we get a link to these scripts, please? So we know why they care
about these symbols being in libc.
zw
Hello, Zack Weinberg via Libc-alpha, le mar. 03 janv. 2023 12:22:20 -0500, a ecrit: > > With this patch i boot up a hurd system with flavio scripts. > > Can we get a link to these scripts, please? So we know why they care > about these symbols being in libc. He just means that he was able to check the change with a Hurd system built by flavio scripts. Those scripts work fine without the change, the change is meant to move pthread symbols from libpthread.so to libc.so, like was done for NPTL. Samuel
On January 3, 2023 7:22:20 PM GMT+02:00, Zack Weinberg <zack@owlfolio.org> wrote: > >> With this patch i boot up a hurd system with flavio scripts. > >Can we get a link to these scripts, please? So we know why they care >about these symbols being in libc. https://github.com/flavioc/cross-hurd We are trying to move htl(hurd pthread library) like it was done for linux nptl. > >zw
Hello, Apart from the symbols visibility, that looks good to me, thanks! We're however in glibc slushy ABI freeze period, I guess we should refrain from including this patch for 2.37? The release is expected on february 1st, in the meanwhile you can work on moving the other symbols. Ideally we'll have moved all the symbols by 2.38 :) Samuel Guy-Fleury Iteriteka via Libc-alpha, le mar. 03 janv. 2023 12:45:12 +0200, a ecrit: > With this patch i boot up a hurd system with flavio scripts. > > Guy-Fleury Iteriteka (3): > htl: move __pthtread_total into libc > htl: move __pthread_self into libc. > htl: move pthread_self into libc > > htl/Makefile | 3 +-- > htl/Versions | 15 ++++++++++++--- > htl/forward.c | 4 ---- > htl/pt-create.c | 6 ------ > htl/pt-initialize.c | 1 - > htl/pt-internal.h | 2 ++ > htl/pt-nthreads.c | 23 +++++++++++++++++++++++ > htl/pt-self.c | 8 ++++++-- > sysdeps/htl/pthread-functions.h | 2 -- > sysdeps/mach/hurd/htl/pt-pthread_self.c | 22 ++++++++++++++++++++++ > sysdeps/mach/hurd/htl/pt-sysdep.c | 2 -- > sysdeps/mach/hurd/htl/pt-sysdep.h | 3 +++ > sysdeps/mach/hurd/i386/libc.abilist | 2 ++ > sysdeps/mach/hurd/i386/libpthread.abilist | 2 -- > 14 files changed, 71 insertions(+), 24 deletions(-) > create mode 100644 htl/pt-nthreads.c > create mode 100644 sysdeps/mach/hurd/htl/pt-pthread_self.c > > -- > 2.38.1
3 janvier 2023 à 23:50 "Samuel Thibault" <samuel.thibault@gnu.org> a écrit: hello, > > Hello, > > Apart from the symbols visibility, that looks good to me, thanks! > > We're however in glibc slushy ABI freeze period, I guess we should > refrain from including this patch for 2.37? > No problem, i send a second version for review. > The release is expected on february 1st, in the meanwhile you can work > on moving the other symbols. Ideally we'll have moved all the symbols by > 2.38 :) > I will try to move what i can > Samuel > > Guy-Fleury Iteriteka via Libc-alpha, le mar. 03 janv. 2023 12:45:12 +0200, a ecrit: > > > > > With this patch i boot up a hurd system with flavio scripts. > > > > Guy-Fleury Iteriteka (3): > > htl: move __pthtread_total into libc > > htl: move __pthread_self into libc. > > htl: move pthread_self into libc > > > > htl/Makefile | 3 +-- > > htl/Versions | 15 ++++++++++++--- > > htl/forward.c | 4 ---- > > htl/pt-create.c | 6 ------ > > htl/pt-initialize.c | 1 - > > htl/pt-internal.h | 2 ++ > > htl/pt-nthreads.c | 23 +++++++++++++++++++++++ > > htl/pt-self.c | 8 ++++++-- > > sysdeps/htl/pthread-functions.h | 2 -- > > sysdeps/mach/hurd/htl/pt-pthread_self.c | 22 ++++++++++++++++++++++ > > sysdeps/mach/hurd/htl/pt-sysdep.c | 2 -- > > sysdeps/mach/hurd/htl/pt-sysdep.h | 3 +++ > > sysdeps/mach/hurd/i386/libc.abilist | 2 ++ > > sysdeps/mach/hurd/i386/libpthread.abilist | 2 -- > > 14 files changed, 71 insertions(+), 24 deletions(-) > > create mode 100644 htl/pt-nthreads.c > > create mode 100644 sysdeps/mach/hurd/htl/pt-pthread_self.c > > > > -- > > 2.38.1 > > >
On Tue, Jan 3, 2023, at 1:28 PM, Samuel Thibault wrote: > Zack Weinberg via Libc-alpha, le mar. 03 janv. 2023 12:22:20 -0500, a ecrit: >> > With this patch i boot up a hurd system with flavio scripts. >> >> Can we get a link to these scripts, please? So we know why they care >> about these symbols being in libc. > > He just means that he was able to check the change with a Hurd system > built by flavio scripts. Those scripts work fine without the change, the > change is meant to move pthread symbols from libpthread.so to libc.so, > like was done for NPTL. Oh, I see. Thanks for clarifying. zw