From patchwork Tue May 2 20:24:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 68641 Return-Path: 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 EF04B385381F for ; Tue, 2 May 2023 20:24:38 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from sonata.ens-lyon.org (sonata.ens-lyon.org [140.77.166.138]) by sourceware.org (Postfix) with ESMTPS id 54D03385559D for ; Tue, 2 May 2023 20:24:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 54D03385559D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=bounce.ens-lyon.org Received: from localhost (localhost [127.0.0.1]) by sonata.ens-lyon.org (Postfix) with ESMTP id 964882018D; Tue, 2 May 2023 22:24:25 +0200 (CEST) Received: from sonata.ens-lyon.org ([127.0.0.1]) by localhost (sonata.ens-lyon.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PuSQSqcICQqH; Tue, 2 May 2023 22:24:25 +0200 (CEST) Received: from begin.home (lfbn-bor-1-1163-184.w92-158.abo.wanadoo.fr [92.158.138.184]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by sonata.ens-lyon.org (Postfix) with ESMTPSA id 6F54420184; Tue, 2 May 2023 22:24:25 +0200 (CEST) Received: from samy by begin.home with local (Exim 4.96) (envelope-from ) id 1ptwXx-005fH1-0G; Tue, 02 May 2023 22:24:25 +0200 From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault , commit-hurd@gnu.org Subject: [hurd,commited] hurd: Enable x86_64 build script Date: Tue, 2 May 2023 22:24:24 +0200 Message-Id: <20230502202424.1350288-1-samuel.thibault@ens-lyon.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spam-Status: No, score=-13.2 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" This now passes crossbuilds. --- NEWS | 5 +++++ README | 2 +- scripts/build-many-glibcs.py | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 40964d2ee0..054d81fc81 100644 --- a/NEWS +++ b/NEWS @@ -24,6 +24,11 @@ Major new features: * A new tunable, glibc.pthread.stack_hugetlb, can be used to disable Transparent Huge Pages (THP) in stack allocation at pthread_create. +* Support for x86_64 running on Hurd has been added. This port requires + as least binutils 2.40 and GCC 13: + + - x86_64-gnu + Deprecated and removed features, and other changes affecting compatibility: * In the Linux kernel for the hppa/parisc architecture some of the diff --git a/README b/README index 63f3a1bebf..9532b97986 100644 --- a/README +++ b/README @@ -12,7 +12,7 @@ implement the operating system behavior seen by user applications. In GNU/Hurd systems, it works with a microkernel and Hurd servers. The GNU C Library implements much of the POSIX.1 functionality in the -GNU/Hurd system, using configurations i[4567]86-*-gnu. +GNU/Hurd system, using configurations i[4567]86-*-gnu and x86_64-gnu. When working with Linux kernels, this version of the GNU C Library requires Linux kernel version 3.2 or later. diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index 97b6862167..95726c4a29 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -465,6 +465,9 @@ class Context(object): 'ccopts': '-m32 -march=i486'}, {'arch': 'i586', 'ccopts': '-m32 -march=i586'}]) + self.add_config(arch='x86_64', + os_name='gnu', + gcc_cfg=['--disable-multilib']) def add_config(self, **args): """Add an individual build configuration."""