build-many-glibcs: Remove no_isolate from SH config

Now with d40dbe7 SH build does not require more the no_isolate gcc
options to correct build glibc (since SH build now does not generate
a trap anymore).  This patch removes the unrequired options from
SH config.

Checked with a build for sh3-linux-gnu, sh3eb-linux-gnu, sh4-linux-gnu,
and sh4eb-linux-gnu.

	* scripts/build-many-glibcs.py (Context.add_all_configs): Remove
	no_isolate usage for SH.
This commit is contained in:
Adhemerval Zanella 2017-03-13 08:04:22 -03:00
parent ae65d4f3c3
commit c89721e25d
2 changed files with 11 additions and 19 deletions

View File

@ -1,3 +1,8 @@
2017-03-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
* scripts/build-many-glibcs.py (Context.add_all_configs): Remove
no_isolate usage for SH.
2017-03-13 Wilco Dijkstra <wdijkstr@arm.com> 2017-03-13 Wilco Dijkstra <wdijkstr@arm.com>
[BZ #15105] [BZ #15105]

View File

@ -159,11 +159,6 @@ class Context(object):
def add_all_configs(self): def add_all_configs(self):
"""Add all known glibc build configurations.""" """Add all known glibc build configurations."""
# On architectures missing __builtin_trap support, these
# options may be needed as a workaround; see
# <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70216> for SH.
no_isolate = ('-fno-isolate-erroneous-paths-dereference'
' -fno-isolate-erroneous-paths-attribute')
self.add_config(arch='aarch64', self.add_config(arch='aarch64',
os_name='linux-gnu') os_name='linux-gnu')
self.add_config(arch='aarch64_be', self.add_config(arch='aarch64_be',
@ -337,31 +332,23 @@ class Context(object):
glibcs=[{}, glibcs=[{},
{'arch': 's390', 'ccopts': '-m31'}]) {'arch': 's390', 'ccopts': '-m31'}])
self.add_config(arch='sh3', self.add_config(arch='sh3',
os_name='linux-gnu', os_name='linux-gnu')
glibcs=[{'ccopts': no_isolate}])
self.add_config(arch='sh3eb', self.add_config(arch='sh3eb',
os_name='linux-gnu', os_name='linux-gnu')
glibcs=[{'ccopts': no_isolate}])
self.add_config(arch='sh4', self.add_config(arch='sh4',
os_name='linux-gnu', os_name='linux-gnu')
glibcs=[{'ccopts': no_isolate}])
self.add_config(arch='sh4eb', self.add_config(arch='sh4eb',
os_name='linux-gnu', os_name='linux-gnu')
glibcs=[{'ccopts': no_isolate}])
self.add_config(arch='sh4', self.add_config(arch='sh4',
os_name='linux-gnu', os_name='linux-gnu',
variant='soft', variant='soft',
gcc_cfg=['--without-fp'], gcc_cfg=['--without-fp'],
glibcs=[{'variant': 'soft', glibcs=[{'variant': 'soft', 'cfg': ['--without-fp']}])
'cfg': ['--without-fp'],
'ccopts': no_isolate}])
self.add_config(arch='sh4eb', self.add_config(arch='sh4eb',
os_name='linux-gnu', os_name='linux-gnu',
variant='soft', variant='soft',
gcc_cfg=['--without-fp'], gcc_cfg=['--without-fp'],
glibcs=[{'variant': 'soft', glibcs=[{'variant': 'soft', 'cfg': ['--without-fp']}])
'cfg': ['--without-fp'],
'ccopts': no_isolate}])
self.add_config(arch='sparc64', self.add_config(arch='sparc64',
os_name='linux-gnu', os_name='linux-gnu',
glibcs=[{}, glibcs=[{},