From 0c0973788367b4ac42aace075a0598bc1c79b7dd Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 29 Nov 2017 22:51:46 +0000 Subject: [PATCH] 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. --- ChangeLog | 3 +++ scripts/build-many-glibcs.py | 8 +++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index cdd73a8541..0cc5c42d5c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2017-11-29 Joseph Myers + * 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 . (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 0a18531958..59972a0602 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=[{}, -- 2.11.4.GIT