]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
hurd: fix gcc build in build-many-glibcs.py
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 27 Jan 2018 18:53:44 +0000 (19:53 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 27 Jan 2018 18:54:38 +0000 (19:54 +0100)
gcc's libcilkrts has never actually supported GNU/Hurd, and doesn't
automatically disable it, and the support was actually removed in gcc trunk,
so that will never actually be fixed there.

* scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
--disable-libcilkrts to gcc configure.

ChangeLog
scripts/build-many-glibcs.py

index 497b00f65a48bd90e6d1c513cac765b97af296c5..88f6d93c12261588b8b988bd107f1cf84702d619 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -17,6 +17,8 @@
        instead of void *.
        * sysdeps/pthread/timer_create.c (timer_create): Do not use
        timer_ptr2id to cast struct timer_node * to void *.
+       * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
+       --disable-libcilkrts to gcc configure.
 
 2018-01-27  James Clarke  <jrtc27@jrtc27.com>
 
index 8a2e068577a3e3ba4a37da1ee2102ad164f31e61..fbb701e25d852c37ab248b067d40b0d2f06ee639 100755 (executable)
@@ -1329,6 +1329,8 @@ class Config(object):
             tool_build = 'gcc'
             cfg_opts += ['--enable-languages=c,c++', '--enable-shared',
                          '--enable-threads']
+            if self.os == 'gnu':
+                cfg_opts += ['--disable-libcilkrts']
         self.build_cross_tool(cmdlist, 'gcc', tool_build, cfg_opts)