From patchwork Mon Mar 13 11:08:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 19543 Received: (qmail 123288 invoked by alias); 13 Mar 2017 11:08:45 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 123269 invoked by uid 89); 13 Mar 2017 11:08:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.4 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-qt0-f171.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=nSvG8ojGPAZs7moz0v/L7k8bdJLbKW5lpRYUVb/7GB4=; b=gYajQtr7fTtgR+dqbGSMOHWZhjtC0fLblBvoctBzHe0QgBbS/1Sf2Af4m2poQmMweh JT3Dh3OYgW0BQeoTFuaHDDV6GblRMqmbxeCWTwhaSn7nkP1CWJN0g1EiO6SARx0iGLWJ OBCiyLYHInn+oio1l/VoQfrlxQcn1iITOOE7isZK5M07fIaJhZGaXXcOQXpPf0hya1a6 n4dzeI5aqvr6gdPLrs1cpRLpvrxcbRVn2ZLX8BpESdHjIRMgfOIuEfK1KSPDfFoFskKx Q0WsDkeZcvX9yg63+Ba+1sY812jQJSxTfND26NFTYkwC3mvpM+pkDvCKfqpK5tXCdmgd oVeQ== X-Gm-Message-State: AMke39maIe088aHPbNN1Ls6ASMtDYSwjj9OYlG11ZcsMUr8Rt2ZfH/jgyIRrjyLshKsgPLP7 X-Received: by 10.237.59.19 with SMTP id p19mr31934604qte.28.1489403320900; Mon, 13 Mar 2017 04:08:40 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH] build-many-glibcs: Remove no_isolate from SH config Date: Mon, 13 Mar 2017 08:08:35 -0300 Message-Id: <1489403315-6856-1-git-send-email-adhemerval.zanella@linaro.org> 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 - # for SH. + # 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=[{},