]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Make build-many-glibcs.py build GCC for powerpcspe with --enable-obsolete.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 18 Apr 2018 16:07:19 +0000 (16:07 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 18 Apr 2018 16:07:19 +0000 (16:07 +0000)
The powerpcspe GCC port has been obsoleted in GCC 8 for not having had
the removal of code for non-SPE processors completed.  This patch
accordingly arranges for build-many-glibcs.py to configure GCC with
--enable-obsolete for affected configurations.  This is temporary;
either the port gets cleaned up and unobsoleted in GCC and the
configure option can be removed, or the port gets removed in GCC and
we should remove the corresponding glibc support.

Tested with build-many-glibcs.py for the affected configurations.

* scripts/build-many-glibcs.py (Context.add_all_configs): Use
--enable-obsolete for powerpc-linux-gnuspe.

ChangeLog
scripts/build-many-glibcs.py

index ff34f13368db8b4adf477ae59ca22fda98bc1c2e..6a41b0543d00b9d304e65d160dfe80c1c481416e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-04-18  Joseph Myers  <joseph@codesourcery.com>
+
+       * scripts/build-many-glibcs.py (Context.add_all_configs): Use
+       --enable-obsolete for powerpc-linux-gnuspe.
+
 2018-04-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
        * conform/data/sys/un.h-data (struct sockaddr_un): Allow sun_len
index 79b1cd27e70b8854c0a8f80c007f82f3a9b31d1b..1ab283f1905b745158e160ab3796dbd7869eaad9 100755 (executable)
@@ -324,11 +324,12 @@ class Context(object):
         self.add_config(arch='powerpc',
                         os_name='linux-gnuspe',
                         gcc_cfg=['--disable-multilib', '--enable-secureplt',
-                                 '--enable-e500-double'])
+                                 '--enable-e500-double', '--enable-obsolete'])
         self.add_config(arch='powerpc',
                         os_name='linux-gnuspe',
                         variant='e500v1',
-                        gcc_cfg=['--disable-multilib', '--enable-secureplt'])
+                        gcc_cfg=['--disable-multilib', '--enable-secureplt',
+                                 '--enable-obsolete'])
         self.add_config(arch='riscv64',
                         os_name='linux-gnu',
                         variant='rv64imac-lp64',