From patchwork Mon Nov 11 19:14:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 35798 Received: (qmail 42036 invoked by alias); 11 Nov 2019 19:14:39 -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 42024 invoked by uid 89); 11 Nov 2019 19:14:38 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-21.6 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mail-qk1-f195.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=+QjUuryWSLzPinKQWoIZEaykMR6c2ZUclQAFMN0mmxE=; b=gwmqmoASZeDOn95effvDTPprWF2GHrXyO2ZDf/6sQ1GNjJxAb4hqLV9N54rOAXMXIZ b6PRoER/CDyXiHfTMjVIp0gdYSTUu963ripEBaYfdmxpzZRX7x0oGdvliubK8n37OT7S 3T/NRY5B5RGYhIozLKiOYXOqdHh9lUnD04sZdzRUAemF9UZKb4qUah5nJuCEhK6HXDS7 AVZkSUYdISsmQLSgzXaqjiSmgOTyRLhU6n4sYatcLH6dXurI6OlSUtZ0vcBN2uJIZRc7 5m4UE0bNj55RdN6KhOVuJNs48d+dtyq9eqSzEtHZ3F5b5aGqamYNmjhQoIR7ShJ0F/xH f73w== Return-Path: Subject: Re: [PATCH] Remove 32 bit sparc v8 support To: Joseph Myers Cc: libc-alpha@sourceware.org, David Miller References: <20191111174304.24653-1-adhemerval.zanella@linaro.org> From: Adhemerval Zanella Openpgp: preference=signencrypt Message-ID: <1afe4a2b-0b4b-38d9-cb22-4bdc21e0cfd4@linaro.org> Date: Mon, 11 Nov 2019 16:14:31 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: On 11/11/2019 15:24, Joseph Myers wrote: > On Mon, 11 Nov 2019, Adhemerval Zanella wrote: > >> sysdeps/sparc/sparc32/divrem.m4 | 234 ------- >> sysdeps/sparc/sparc32/rem.S | 365 +--------- >> sysdeps/sparc/sparc32/sdiv.S | 363 +--------- >> sysdeps/sparc/sparc32/udiv.S | 343 +-------- >> sysdeps/sparc/sparc32/urem.S | 345 +-------- > > Since you're replacing these files generated from divrem.m4 with > non-generated files moved from the v9 directory, the code in > build-many-glibcs.py to touch them on checkout should also be removed, as > there is no longer any constraint on how their timestamps are ordered with > respect to other files in the source tree. > Something like: ? diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index f174094ff3..cd9ac08f52 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -358,7 +358,7 @@ class Context(object): self.add_config(arch='sparc64', os_name='linux-gnu', glibcs=[{}, - {'arch': 'sparcv9', + {'arch': 'sparc', 'ccopts': '-m32 -mlong-double-128 -mcpu=v9'}], extra_glibcs=[{'variant': 'disable-multi-arch', 'cfg': ['--disable-multi-arch']}, @@ -847,11 +847,7 @@ class Context(object): # be touched because nothing in a build depends on the files # in question. for f in ('sysdeps/gnu/errlist.c', - 'sysdeps/mach/hurd/bits/errno.h', - 'sysdeps/sparc/sparc32/rem.S', - 'sysdeps/sparc/sparc32/sdiv.S', - 'sysdeps/sparc/sparc32/udiv.S', - 'sysdeps/sparc/sparc32/urem.S'): + 'sysdeps/mach/hurd/bits/errno.h'): to_touch = os.path.join(srcdir, f) subprocess.run(['touch', '-c', to_touch], check=True) for dirpath, dirnames, filenames in os.walk(srcdir):