This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] build-many-glibcs: Remove no_isolate from SH config
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: libc-alpha at sourceware dot org
- Date: Mon, 13 Mar 2017 08:08:35 -0300
- Subject: [PATCH] build-many-glibcs: Remove no_isolate from SH config
- Authentication-results: sourceware.org; auth=none
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.
---
ChangeLog | 5 +++++
scripts/build-many-glibcs.py | 23 ++++++++---------------
2 files changed, 13 insertions(+), 15 deletions(-)
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index 4330f7f..333ec7f 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -161,7 +161,8 @@ class Context(object):
"""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.
+ # <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70216> for SH
+ # (although since d40dbe7 SH does not generate trap instruction).
no_isolate = ('-fno-isolate-erroneous-paths-dereference'
' -fno-isolate-erroneous-paths-attribute')
self.add_config(arch='aarch64',
@@ -337,31 +338,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=[{},
--
2.7.4