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 X-Patchwork-Id: 95202 Delivered-To: patch@linaro.org Received: by 10.182.3.34 with SMTP id 2csp1046216obz; Mon, 13 Mar 2017 04:08:56 -0700 (PDT) X-Received: by 10.84.229.137 with SMTP id c9mr47507287plk.41.1489403336106; Mon, 13 Mar 2017 04:08:56 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id z30si181383plh.211.2017.03.13.04.08.55 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Mar 2017 04:08:56 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-return-77842-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org; spf=pass (google.com: domain of libc-alpha-return-77842-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=libc-alpha-return-77842-patch=linaro.org@sourceware.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; q=dns; s= default; b=oMhKqGtV4lf8GkO77z8aGOOkSJDiQKYMl9E2wERjETKfZ/bdtmshq b43mZFOOenCILHLlQKTWDH99hmHKles7kM+BRqUyQESptI14ZOdKtGq8rvYXhUie moaO+aX785K+6z/kCL6YNBfVT1ESPPhDYg3LO8hzGtk5uTLv6GYPi4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id; s=default; bh=fuPOuIy3mUpRRYyqxgL1dZCkrqo=; b=ZJ0d1QlodICduFrQ13qlROa3bEvX /AFGUzkM+bDx6+as1rL1J/gzcNP4hTZ+BLAi436Lr9hHN4JHWOIgo04maCfHc9p0 mLxQN20xorjg+X93R+SADEG9U9bIwhkpEMHa4qrIfIIPNz9QYhgN9be7PTcAEeV5 XgMsMNEvcTJR7O4= 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(-) -- 2.7.4 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=[{},