about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2018-04-18 16:07:19 +0000
committerJoseph Myers <joseph@codesourcery.com>2018-04-18 16:07:19 +0000
commitd6397de369d006da516cb560adfa2c181b6f4698 (patch)
tree8072ced6c5edb6a33263b99c840a47b97eec4848 /scripts
parentc4375964dbf8194375a351b0d34ad9be5d4bda3b (diff)
downloadglibc-d6397de369d006da516cb560adfa2c181b6f4698.tar.gz
glibc-d6397de369d006da516cb560adfa2c181b6f4698.tar.xz
glibc-d6397de369d006da516cb560adfa2c181b6f4698.zip
Make build-many-glibcs.py build GCC for powerpcspe with --enable-obsolete.
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.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build-many-glibcs.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 79b1cd27e7..1ab283f190 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -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',