]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add SPARC --disable-multi-arch builds to build-many-glibcs.py.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 29 Nov 2017 22:51:46 +0000 (22:51 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 29 Nov 2017 22:51:46 +0000 (22:51 +0000)
While working on SPARC changes to use libm_alias_* I noticed that the
non-multi-arch sparc32/sparcv9/fpu/s_fabs.S was missing compat symbol
support for fabsl.  This clearly shows inadequate test coverage, so
this patch adds SPARC --disable-multi-arch builds to
build-many-glibcs.py (the 32-bit one fails testing until that bug is
fixed, the 64-bit one passes testing).

* scripts/build-many-glibcs.py (Context.add_all_configs): Add
SPARC --disable-multi-arch glibc variants.

ChangeLog
scripts/build-many-glibcs.py

index cdd73a8541948c324b1d3c72d21ba8ea0e2f95d6..0cc5c42d5cef766f8df08624c9a645faff50807e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2017-11-29  Joseph Myers  <joseph@codesourcery.com>
 
+       * scripts/build-many-glibcs.py (Context.add_all_configs): Add
+       SPARC --disable-multi-arch glibc variants.
+
        * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
        <libm-alias-float.h>.
        (exp2f): Define using libm_alias_float, or libm_alias_float_other
index 0a18531958727752890411870ce602c458237122..59972a060231181f6e1a84d008cc6f8f081cb349 100755 (executable)
@@ -358,7 +358,13 @@ class Context(object):
                         os_name='linux-gnu',
                         glibcs=[{},
                                 {'arch': 'sparcv9',
-                                 'ccopts': '-m32 -mlong-double-128'}])
+                                 'ccopts': '-m32 -mlong-double-128'}],
+                        extra_glibcs=[{'variant': 'disable-multi-arch',
+                                       'cfg': ['--disable-multi-arch']},
+                                      {'variant': 'disable-multi-arch',
+                                       'arch': 'sparcv9',
+                                       'ccopts': '-m32 -mlong-double-128',
+                                       'cfg': ['--disable-multi-arch']}])
         self.add_config(arch='tilegx',
                         os_name='linux-gnu',
                         glibcs=[{},