]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add build-many-glibcs.py powerpc-linux-gnu-power4 build.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 2 Jan 2017 22:13:42 +0000 (22:13 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 2 Jan 2017 22:13:42 +0000 (22:13 +0000)
The 32-bit powerpc configurations in build-many-glibcs.py were failing
to cover the powerpc32 multiarch code at all, because that code is
only built for power4 and above configurations.  This patch adds a
32-bit power4 configuration so that at least some of that multiarch
code gets build-tested.  (This is preparation for reviewing the w_*
file renaming, which affects such powerpc32 multiarch files.)

* scripts/build-many-glibcs.py (Context.add_all_configs): Add
power4 glibc for powerpc-linux-gnu.

ChangeLog
scripts/build-many-glibcs.py

index 7762fb7f79450fe0969359fbb20caebd232c677e..d8300bc71e71f86d8ea932a6c73eeab334a657af 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-01-02  Joseph Myers  <joseph@codesourcery.com>
+
+       * scripts/build-many-glibcs.py (Context.add_all_configs): Add
+       power4 glibc for powerpc-linux-gnu.
+
 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
        * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
index 9ca9236d60abfd1a627e377e90a46d3f8bcddc14..60a78748753d4a50387fd720a07750d394fa875a 100755 (executable)
@@ -268,7 +268,10 @@ class Context(object):
                         os_name='linux-gnu')
         self.add_config(arch='powerpc',
                         os_name='linux-gnu',
-                        gcc_cfg=['--disable-multilib', '--enable-secureplt'])
+                        gcc_cfg=['--disable-multilib', '--enable-secureplt'],
+                        extra_glibcs=[{'variant': 'power4',
+                                       'ccopts': '-mcpu=power4',
+                                       'cfg': ['--with-cpu=power4']}])
         self.add_config(arch='powerpc',
                         os_name='linux-gnu',
                         variant='soft',