aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-11-29 22:51:46 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-11-29 22:51:46 +0000
commit0c0973788367b4ac42aace075a0598bc1c79b7dd (patch)
tree2b413e87b227689cce97734c17939d880a99f494
parent34bb10aabfedb5198388693d17c747cb11fbfb4b (diff)
downloadglibc-0c0973788367b4ac42aace075a0598bc1c79b7dd.zip
glibc-0c0973788367b4ac42aace075a0598bc1c79b7dd.tar.gz
glibc-0c0973788367b4ac42aace075a0598bc1c79b7dd.tar.bz2
Add SPARC --disable-multi-arch builds to build-many-glibcs.py.
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.
-rw-r--r--ChangeLog3
-rwxr-xr-xscripts/build-many-glibcs.py8
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index cdd73a8..0cc5c42 100644
--- 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
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 0a18531..59972a0 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -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=[{},