hurd: Enable x86_64 build script
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 2 May 2023 19:40:31 +0000 (21:40 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 2 May 2023 19:40:36 +0000 (21:40 +0200)
This now passes crossbuilds.

NEWS
README
scripts/build-many-glibcs.py

diff --git a/NEWS b/NEWS
index 40964d2..054d81f 100644 (file)
--- 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 63f3a1b..9532b97 100644 (file)
--- 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.
index 97b6862..95726c4 100755 (executable)
@@ -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."""