From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 4405C38582B0 for ; Sun, 12 Feb 2023 16:12:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4405C38582B0 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRExt-0000q3-KN; Sun, 12 Feb 2023 11:12:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From: Date; bh=1b93xfEfS8jpJqzbmnHMb5Yivu34QFkwWQxTPRvIQaI=; b=TSXc/F7slrFQyxEn7jpv 4SWOJO7xR89i5i3q1YS6DQFiObMFKE+He262p1HLTIXPyPdH4/9YXwo0WOSQsa981ewp3rLUnZpVX EVXTk76tLYRJ9TH6He88JgT2XBo5WG4sjnKOkPt2OhbxttJVLEZSee4qyk7Bj03e8RljpYlWRZ2T2 c5QoLMwbb5OzjPA3GlJr9aMYSvAm5eGITCh43mFiWEeBQgqfCYpqafonqj91+F48gKrmbPTIhTF54 1jdulzQiNkIvF+n0+ksFqQGoVBjRJ/k8mXEicnVd5uD7ZVnld42I0/wMDUTd2pQHZ5M4o/Hss9lKT TmxjoM7xbiv9/Q==; Received: from lfbn-bor-1-1163-184.w92-158.abo.wanadoo.fr ([92.158.138.184] helo=begin) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRExt-0005q3-CX; Sun, 12 Feb 2023 11:12:33 -0500 Received: from samy by begin with local (Exim 4.96) (envelope-from ) id 1pRExs-004sBq-0X; Sun, 12 Feb 2023 17:12:32 +0100 Date: Sun, 12 Feb 2023 17:12:32 +0100 From: Samuel Thibault To: Sergey Bugaev Cc: bug-hurd@gnu.org, libc-alpha@sourceware.org, =?utf-8?Q?Fl=C3=A1vio?= Cruz Subject: Re: [RFC PATCH 0/12] Towards glibc on x86_64-gnu Message-ID: <20230212161232.ryv4saf57psucl6b@begin> Mail-Followup-To: Sergey Bugaev , bug-hurd@gnu.org, libc-alpha@sourceware.org, =?utf-8?Q?Fl=C3=A1vio?= Cruz References: <20230212111044.610942-1-bugaevc@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230212111044.610942-1-bugaevc@gmail.com> Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,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 List-Id: Hello, Sergey Bugaev via Libc-alpha, le dim. 12 févr. 2023 14:10:31 +0300, a ecrit: > The main missing pieces seem to be, ordered by scariness increasing: > - missing x86_64 thread state definition in the kernel headers; > - TLS things; > - INTR_MSG_TRAP. INTR_MSG_TRAP shouldn't be hard. It's the trampoline part which will be. Also, sysdeps/mach/hurd/i386/init-first.c. But possibly that part could be simplified on 32bit first, now that libpthread just takes the existing stack rather that forcing to use one, see 9cec82de715b which started to simplify things. Samuel