Message ID | 9c79db70-94a6-58e7-96f3-d7c60a9d5893@suse.com |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:918b:0:b0:3e4:2afc:c1 with SMTP id s11csp2463385vqg; Mon, 31 Jul 2023 22:56:16 -0700 (PDT) X-Google-Smtp-Source: APBJJlFmKoczvDat1jh1zxuh2WgWhsK9Tyj0CBMMtUqbZvzxp9Fh92/CV+4lXGwyzxb50RmeuIlD X-Received: by 2002:a17:906:538e:b0:992:7e1f:8419 with SMTP id g14-20020a170906538e00b009927e1f8419mr1504563ejo.2.1690869376592; Mon, 31 Jul 2023 22:56:16 -0700 (PDT) Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id j13-20020a17090686cd00b0098d2f715b89si4151111ejy.102.2023.07.31.22.56.16 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Jul 2023 22:56:16 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=ZJNOhxx1; arc=fail (signature failed); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 61A0C3858423 for <ouuuleilei@gmail.com>; Tue, 1 Aug 2023 05:56:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 61A0C3858423 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1690869375; bh=1UBLT+7zwvKs2Wt5jyCC++rzfo2NVer4Dg/pO1DxvYk=; h=Date:Subject:To:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=ZJNOhxx1fMX82tEDXJvXHkMFHN02oYZzVkFOpMfuC4HvMTwIuBfrTGwvrnMwovqSi T5x9sASLwJPUhHI/siLXisOnTcD2ER7dI6JHap1U1mGWJGR/c6EI3i/Pf5sM91syfP DuJ8Vaiy/TdsSeuBGW72YiuKUfMaq3aMdUuDGsyk= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2088.outbound.protection.outlook.com [40.107.22.88]) by sourceware.org (Postfix) with ESMTPS id 783C03858D28; Tue, 1 Aug 2023 05:55:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 783C03858D28 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RtaTa0wa7c2SCIFVMUMVTAL2AaxfyuzUQoO6ZcMMvQu00eIvOo12IQVpxnww96FRcX07sgVnLJdHmcFVRaE/lql7tJ8ZQSiJgeytuSMDPaH8i9RxwuvuCI1vUHFVY63ZsvnnljeLmvRwygZYtlSYzYXxNkvYzSFMGviYXPyGCbxXB7lmlEUj9eINqjaGcu2z3xST+W8RMUT6T5GprCrEZljarJ3pJGTrMsARNSKFxJ/FI8SRpN3ygnDnlAG2zUq+UkdjmSytEtu3tF38FHw4gN6zSpatfyEF6yUTunOBjsz26KNci0lqslhUl+71FCvYJOK3FEJDNEa2mGfGKSgzhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=1UBLT+7zwvKs2Wt5jyCC++rzfo2NVer4Dg/pO1DxvYk=; b=JemYFoqvKTmG6QTXE7B2AdC5E16+0dZ+CMrKboat6izbnO7Ga4z6rruV/jH+Dyj9zma+LQ/OaWfQjWC+iyQ+qmsKmhvymSpi4+TQDiZfGwpQtFZAy7wLGhQ2ebHME5Kjuk9eQYmxV+Rn+cEHEx/z6HbPQaM4fT4ngLe9UrYyUgHnqWL7dcMtFa4HzwiU7EDeW3fjVLje1W/xCiXfCfak2N6uR1Qyo26WV9j+RnVdUoYYNuRApKYzCSPTM1GKZlgLAU077TUoEl/ZKtHGGbAJGcPTmvk4yvd056Uv2p+GQihyg3xFuEq2T0IPTrUwYCg0fX7I6TV3bfhwgL9SdwpTPQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none Received: from DU2PR04MB8790.eurprd04.prod.outlook.com (2603:10a6:10:2e1::23) by AS4PR04MB9624.eurprd04.prod.outlook.com (2603:10a6:20b:4ce::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.43; Tue, 1 Aug 2023 05:55:24 +0000 Received: from DU2PR04MB8790.eurprd04.prod.outlook.com ([fe80::e5cf:5743:ab60:b14e]) by DU2PR04MB8790.eurprd04.prod.outlook.com ([fe80::e5cf:5743:ab60:b14e%5]) with mapi id 15.20.6631.026; Tue, 1 Aug 2023 05:55:24 +0000 Message-ID: <9c79db70-94a6-58e7-96f3-d7c60a9d5893@suse.com> Date: Tue, 1 Aug 2023 07:55:22 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.1 Subject: [PATCH RESEND] libatomic: drop redundant all-multi command To: gcc-patches@gcc.gnu.org Content-Language: en-US Cc: "bonzini@gnu.org" <bonzini@gnu.org>, neroden@gcc.gnu.org, aoliva@gcc.gnu.org, Ralf.Wildenhues@gmx.de Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: FR2P281CA0057.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:93::17) To DU2PR04MB8790.eurprd04.prod.outlook.com (2603:10a6:10:2e1::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU2PR04MB8790:EE_|AS4PR04MB9624:EE_ X-MS-Office365-Filtering-Correlation-Id: d8c77d71-8272-452c-7bf8-08db9253e5e6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 26Y1eyfxAiq06VHZvao5URYgNwXdKzDX7mIGsYwK2KdtwDYLYlwuZl/5nVumI193GZfQ6s5ZZ8cU5L7XeNCeb/R6AZxuPQGdLy7VbWeNbYz/HischjF+D5iAhAAHtyOKnlj1FnkPvtSfERTcLXNO4YSr+LYc/Ff0fcwa5ymJ8jIJ2xThb0fk6rppKOahjFgdXhnN5zAfV1UhjeAlGYUHnKU9Tmnw0DqQF+9X1CTvMFpCRyjJxnL0L44tH+/ZjuLuRMGnGmDuuizD8jtkZ8SiJnPa6G4H9pV561csm9pJ26k1D2ZWIukB2RbqgNZXGDecKgA16m2NZTgBJZqxOz/dRIaXtq+qSVHKMFZ5oOpaj5V6VwejhW+6VJeYt4KyWa9gVKgASxeFAeSF/9EEDU4KcKlveWZFGz9vhZU+sIzmFhH7JcVaHtE1/VlEQh0J/QtBbFcilB3IZv12lIxMMl/MkbPPZ9gAJp+tQSrOPOiNmB5bjiyAgSVci09Bx2POhaOSBObYV3bLpCEodKmqyH1EAte67kwmYZUtP52RxwtHhax4xERVW3J/5d4nRVvhxkoDAkFVj0f2sAYPXbFNURJmwpkbIgjYX2Ol5oewek4fCF7lnn7KdrfzoX4GpeOBDc3iu80zTn99V5Ar+6cLpkf4sA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2PR04MB8790.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(396003)(136003)(366004)(346002)(39860400002)(376002)(451199021)(5660300002)(2616005)(186003)(8936002)(8676002)(6506007)(4326008)(26005)(316002)(83380400001)(478600001)(66476007)(66556008)(66946007)(6916009)(86362001)(6486002)(41300700001)(6512007)(36756003)(31696002)(2906002)(38100700002)(31686004)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?bDMU0zq6UHu6ICqZVtcjECD5IXp3?= =?utf-8?q?dLTG+jeqHHRVlj7dd60p0wWPeKpuclRq/O/eEclAKUZrgecYLFPL0m34I7tvr497r?= =?utf-8?q?re4laPeGkpY5XC/xlKDKgab+RDvsfdpwnLeGaXWe/L3O7I6d9RGRe++AXJFiXcNMw?= =?utf-8?q?FeJOZ5tEGgWsuVIks3JvH+CCH/XlhG0WbbLQPYEAyCJFyrAXEEim742XX7Nj+Od9u?= =?utf-8?q?I8QEiuz0Mo6jh37J6mpy74TnBexOBhLCYdGmohJAqejXtiAHQLvHZcQKzhZZOrVDO?= =?utf-8?q?pMltlKZnGjFITMl07d21TocsTpARYej3IWd4RMoxOefVkliRspLQgZo3DlCqCVYd6?= =?utf-8?q?p400L4r81hAdJOkb7rEblIN9kqG6SlJGE0OASGmTXD4ykQoUCBYZaa2nJAmxQLMyR?= =?utf-8?q?C8+2ETjQvP64h+4bcERW5r/bu07+axd/Z60YERWrBH9VJV7Uh8ARMf/pv73+JE0MV?= =?utf-8?q?8pwXc/Mise5vrAjP4hPjF3W/0AznqyvTyKNpvO+Hv/wfQekQGueynW623NcHEZx9+?= =?utf-8?q?EYkVq0I18j0FSrgTua7AkYl6kUzKd5L6Wqj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QGZAKRv14IJCzQdoBp6lcsB4Lcc?= =?utf-8?q?Ls8HIGUgSM5hH9qIfBOpUEYWUta/KCH2vIgoJhCWY1R1zbCK8kh9e4enhjwEVpKXl?= =?utf-8?q?PHktDUj0zdVK?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: d8c77d71-8272-452c-7bf8-08db9253e5e6 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8790.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Aug 2023 05:55:24.1176 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 8BbngXqr6cQQOggfpqTyoSfh2H65w+kM/3bvrpcHG9az9fG3owKcLKXKhhPapfvksdn5wIXleWd6BXvTD1iDhQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR04MB9624 X-Spam-Status: No, score=-3027.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: Jan Beulich via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Jan Beulich <jbeulich@suse.com> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773005047571738679 X-GMAIL-MSGID: 1773005047571738679 |
Series |
[RESEND] libatomic: drop redundant all-multi command
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Jan Beulich
Aug. 1, 2023, 5:55 a.m. UTC
./multilib.am already specifies this same command, and make warns about the earlier one being ignored when seeing the later one. All that needs retaining to still satisfy the preceding comment is the extra dependency. libatomic/ * Makefile.am (all-multi): Drop commands. * Makefile.in: Update accordingly. --- While originally sent over a year ago and pinged subsequently, I can't quite view changes like this as "trivial" ...
Comments
I'm afraid I don't understand this part of the code well, and I've really been away from GCC work for years, and I'm not sure what tests should be run to verify that this is working, so I don't feel comfortable approving it by myself. It looks right though. On Tue, Aug 1, 2023, at 1:55 AM, Jan Beulich wrote: > ./multilib.am already specifies this same command, and make warns about > the earlier one being ignored when seeing the later one. All that needs > retaining to still satisfy the preceding comment is the extra > dependency. > > libatomic/ > > * Makefile.am (all-multi): Drop commands. > * Makefile.in: Update accordingly. > --- > While originally sent over a year ago and pinged subsequently, I can't > quite view changes like this as "trivial" ... > > --- a/libatomic/Makefile.am > +++ b/libatomic/Makefile.am > @@ -149,12 +149,11 @@ endif > libatomic_convenience_la_SOURCES = $(libatomic_la_SOURCES) > libatomic_convenience_la_LIBADD = $(libatomic_la_LIBADD) > > -# Override the automake generated all-multi rule to guarantee that all-multi > +# Amend the automake generated all-multi rule to guarantee that all-multi > # is not run in parallel with the %_.lo rules which generate $(DEPDIR)/*.Ppo > # makefile fragments to avoid broken *.Ppo getting included into the Makefile > # when it is reloaded during the build of all-multi. > all-multi: $(libatomic_la_LIBADD) > - $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do # $(MAKE) > > # target overrides > -include $(tmake_file) > --- a/libatomic/Makefile.in > +++ b/libatomic/Makefile.in > @@ -892,12 +892,11 @@ vpath % $(strip $(search_path)) > %_.lo: Makefile > $(LTCOMPILE) $(M_DEPS) $(M_SIZE) $(M_IFUNC) -c -o $@ $(M_SRC) > > -# Override the automake generated all-multi rule to guarantee that all-multi > +# Amend the automake generated all-multi rule to guarantee that all-multi > # is not run in parallel with the %_.lo rules which generate $(DEPDIR)/*.Ppo > # makefile fragments to avoid broken *.Ppo getting included into the Makefile > # when it is reloaded during the build of all-multi. > all-multi: $(libatomic_la_LIBADD) > - $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do # $(MAKE) > > # target overrides > -include $(tmake_file)
On Aug 1, 2023, Jan Beulich via Gcc-patches <gcc-patches@gcc.gnu.org> wrote: > * Makefile.am (all-multi): Drop commands. > * Makefile.in: Update accordingly. LGTM, thanks,
--- a/libatomic/Makefile.am +++ b/libatomic/Makefile.am @@ -149,12 +149,11 @@ endif libatomic_convenience_la_SOURCES = $(libatomic_la_SOURCES) libatomic_convenience_la_LIBADD = $(libatomic_la_LIBADD) -# Override the automake generated all-multi rule to guarantee that all-multi +# Amend the automake generated all-multi rule to guarantee that all-multi # is not run in parallel with the %_.lo rules which generate $(DEPDIR)/*.Ppo # makefile fragments to avoid broken *.Ppo getting included into the Makefile # when it is reloaded during the build of all-multi. all-multi: $(libatomic_la_LIBADD) - $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do # $(MAKE) # target overrides -include $(tmake_file) --- a/libatomic/Makefile.in +++ b/libatomic/Makefile.in @@ -892,12 +892,11 @@ vpath % $(strip $(search_path)) %_.lo: Makefile $(LTCOMPILE) $(M_DEPS) $(M_SIZE) $(M_IFUNC) -c -o $@ $(M_SRC) -# Override the automake generated all-multi rule to guarantee that all-multi +# Amend the automake generated all-multi rule to guarantee that all-multi # is not run in parallel with the %_.lo rules which generate $(DEPDIR)/*.Ppo # makefile fragments to avoid broken *.Ppo getting included into the Makefile # when it is reloaded during the build of all-multi. all-multi: $(libatomic_la_LIBADD) - $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do # $(MAKE) # target overrides -include $(tmake_file)