From c89721e25d609ec4f3366a3956b2f3e5acd76e77 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Mon, 13 Mar 2017 08:04:22 -0300 Subject: 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. --- scripts/build-many-glibcs.py | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) (limited to 'scripts') diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index 4330f7fc50..388abc3650 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -159,11 +159,6 @@ class Context(object): def add_all_configs(self): """Add all known glibc build configurations.""" - # On architectures missing __builtin_trap support, these - # options may be needed as a workaround; see - # for SH. - no_isolate = ('-fno-isolate-erroneous-paths-dereference' - ' -fno-isolate-erroneous-paths-attribute') self.add_config(arch='aarch64', os_name='linux-gnu') self.add_config(arch='aarch64_be', @@ -337,31 +332,23 @@ class Context(object): glibcs=[{}, {'arch': 's390', 'ccopts': '-m31'}]) self.add_config(arch='sh3', - os_name='linux-gnu', - glibcs=[{'ccopts': no_isolate}]) + os_name='linux-gnu') self.add_config(arch='sh3eb', - os_name='linux-gnu', - glibcs=[{'ccopts': no_isolate}]) + os_name='linux-gnu') self.add_config(arch='sh4', - os_name='linux-gnu', - glibcs=[{'ccopts': no_isolate}]) + os_name='linux-gnu') self.add_config(arch='sh4eb', - os_name='linux-gnu', - glibcs=[{'ccopts': no_isolate}]) + os_name='linux-gnu') self.add_config(arch='sh4', os_name='linux-gnu', variant='soft', gcc_cfg=['--without-fp'], - glibcs=[{'variant': 'soft', - 'cfg': ['--without-fp'], - 'ccopts': no_isolate}]) + glibcs=[{'variant': 'soft', 'cfg': ['--without-fp']}]) self.add_config(arch='sh4eb', os_name='linux-gnu', variant='soft', gcc_cfg=['--without-fp'], - glibcs=[{'variant': 'soft', - 'cfg': ['--without-fp'], - 'ccopts': no_isolate}]) + glibcs=[{'variant': 'soft', 'cfg': ['--without-fp']}]) self.add_config(arch='sparc64', os_name='linux-gnu', glibcs=[{}, -- cgit 1.4.1