Add build-many-glibcs.py --enable-obsolete-* configs.

We've had issues before with build failures (with new GCC) in code
only built with --enable-obsolete-rpc or --enable-obsolete-nsl not
being reported for a while because build-many-glibcs.py does not test
those configure options.  This patch adds configurations (32-bit and
64-bit) using those options so that in future we can notice quickly if
they start failing to build.

Tested the new configurations do build with GCC 8.

	* scripts/build-many-glibcs.py (Context.add_all_configs): Add
	x86_64 and i686 configs using --enable-obsolete-rpc
	--enable-obsolete-nsl.
This commit is contained in:
Joseph Myers 2018-09-10 16:54:34 +00:00
parent 38245425a9
commit 7244f13ded
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2018-09-10 Joseph Myers <joseph@codesourcery.com>
* scripts/build-many-glibcs.py (Context.add_all_configs): Add
x86_64 and i686 configs using --enable-obsolete-rpc
--enable-obsolete-nsl.
2018-09-06 Stefan Liebler <stli@linux.ibm.com> 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
* sysdeps/s390/fpu/libm-test-ulps: Regenerated. * sysdeps/s390/fpu/libm-test-ulps: Regenerated.

View File

@ -384,6 +384,9 @@ class Context(object):
{'arch': 'i686', 'ccopts': '-m32 -march=i686'}], {'arch': 'i686', 'ccopts': '-m32 -march=i686'}],
extra_glibcs=[{'variant': 'disable-multi-arch', extra_glibcs=[{'variant': 'disable-multi-arch',
'cfg': ['--disable-multi-arch']}, 'cfg': ['--disable-multi-arch']},
{'variant': 'enable-obsolete',
'cfg': ['--enable-obsolete-rpc',
'--enable-obsolete-nsl']},
{'variant': 'static-pie', {'variant': 'static-pie',
'cfg': ['--enable-static-pie']}, 'cfg': ['--enable-static-pie']},
{'variant': 'x32-static-pie', {'variant': 'x32-static-pie',
@ -397,6 +400,11 @@ class Context(object):
'arch': 'i686', 'arch': 'i686',
'ccopts': '-m32 -march=i686', 'ccopts': '-m32 -march=i686',
'cfg': ['--disable-multi-arch']}, 'cfg': ['--disable-multi-arch']},
{'variant': 'enable-obsolete',
'arch': 'i686',
'ccopts': '-m32 -march=i686',
'cfg': ['--enable-obsolete-rpc',
'--enable-obsolete-nsl']},
{'arch': 'i486', {'arch': 'i486',
'ccopts': '-m32 -march=i486'}, 'ccopts': '-m32 -march=i486'},
{'arch': 'i586', {'arch': 'i586',