Message ID | e114ac92-17fe-a0c0-b68a-3585910b70e4@suse.cz |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp388802vqo; Wed, 29 Mar 2023 05:55:34 -0700 (PDT) X-Google-Smtp-Source: AKy350ZkCCFVAcEkCas5UMtG7OleluP5bg70xZFiMYrWXORBYURd4l8KuY3c+AQl4NhocNg66wKQ X-Received: by 2002:a05:6402:1:b0:4fc:c7c8:e78d with SMTP id d1-20020a056402000100b004fcc7c8e78dmr18517524edu.31.1680094534632; Wed, 29 Mar 2023 05:55:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680094534; cv=none; d=google.com; s=arc-20160816; b=qmujnNymPGsTFi7fTbN2jkPBm3xLIUBcG37hy/E2m8L/8qGkbOLI8yV+OEXNptwNhY PYUGhH/tg7fFbv25oqL+tfggLece1pGdrcfSvY3DyxQLMh1cMYd6Zw/s1c0P1yX8hVN+ DfuaeIJXMGqKM3H70xilKQjUdLplvt5cZFHpGvyYOMaF5nO2z71X3RcAaP216xab7vWY Wn0+qyh2DXol46mkQfeAa8RqI+pz6Xz5lbOuoeUEB5iP2kIr0IFKgNDRmzhLoF9lvmzB 3QOfxjz0Sof9ipgdwrgWUiPtaAAhRRlujCmxMx29lz6TGE3TMeMGRU7yL1ieONpTNCLj BzoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding:cc :content-language:to:subject:from:user-agent:mime-version:date :message-id:dkim-signature:dkim-signature:dmarc-filter:delivered-to; bh=MnQKqZuy8gv1BK+nirpqFZa2NK9tHYFJFX3Xc/wy1oc=; b=WiYQU+e0YwI/+I0sFvNTrJeHCVeIUcLdUKuxTvF59ttIYsoiVaFawgwWs0li8MY/gQ qof/OO/gHhzVPe1ZJf6O9nDwEmWlyGD9dkFVGytijLJu8BcfAd9i+q424fevrP2G6O2r 06COjbYH32ZXAzT+Jm0g+9smUdGu1fW9pD3LKUlu6YGB751sX92KNsrHqkyDgtPOOj3R sSUyxSaFXgQ1DCb/LPHHjHx7GkK75dui++HBE0MvDNZ/J+SMZ8vwJcD45SYGkSM7/db9 v11CbKoa0HR6dyjxUsH/SiDdXMTzApRvaOyjhLpPSdNl63a3TeM5JL8DZZ8p5POvTxH/ oRbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=aLCulInm; dkim=neutral (no key) header.i=@suse.cz header.b=IOr8iF0W; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id n5-20020a056402514500b004fafb8d85e2si30790280edd.309.2023.03.29.05.55.34 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 05:55:34 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=aLCulInm; dkim=neutral (no key) header.i=@suse.cz header.b=IOr8iF0W; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D0EF33858289 for <ouuuleilei@gmail.com>; Wed, 29 Mar 2023 12:55:27 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by sourceware.org (Postfix) with ESMTPS id 109153858D1E for <gcc-patches@gcc.gnu.org>; Wed, 29 Mar 2023 12:55:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 109153858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 2B0C9219C3; Wed, 29 Mar 2023 12:55:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1680094502; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MnQKqZuy8gv1BK+nirpqFZa2NK9tHYFJFX3Xc/wy1oc=; b=aLCulInm2RNl9XQ5R3GZ61WbEavg+qq5seY8Y3Nz6dZGU5LVZVC7yGz1G98sJSVCEJpQF7 QbLMcPX9WIrdGL0arlAdE2njM2UovqZS+kDzXZyUUeBEJh4u+9bUl+5Tv9E8NlcLCeKOaU IIvTEouyqiVq0wXrh/WV7TTb3xgCDAM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1680094502; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MnQKqZuy8gv1BK+nirpqFZa2NK9tHYFJFX3Xc/wy1oc=; b=IOr8iF0WuW8GvoJCxUqxgWP12uEdS2iWo4dayTyEsC+xZQiqIlz4tKfUgrbrruy7SVaztR eFgkLcXe6gVviqBQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 1BE91139D3; Wed, 29 Mar 2023 12:55:02 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id VdPXBSY1JGTCfgAAMHmgww (envelope-from <mliska@suse.cz>); Wed, 29 Mar 2023 12:55:02 +0000 Message-ID: <e114ac92-17fe-a0c0-b68a-3585910b70e4@suse.cz> Date: Wed, 29 Mar 2023 14:55:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 From: =?utf-8?q?Martin_Li=C5=A1ka?= <mliska@suse.cz> Subject: [PATCH] configure: deprecate --enable-link-mutex option To: gcc-patches@gcc.gnu.org Content-Language: en-US Cc: Jakub Jelinek <jakub@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-11.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_SOFTFAIL, TXREP 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> 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761706806326014635?= X-GMAIL-MSGID: =?utf-8?q?1761706806326014635?= |
Series |
configure: deprecate --enable-link-mutex option
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Martin Liška
March 29, 2023, 12:55 p.m. UTC
Ready to be installed? Thanks, Martin PR bootstrap/109310 gcc/ChangeLog: * configure.ac: Emit a warning for deprecated option --enable-link-mutex. * configure: Regenerate. --- gcc/configure | 1 + gcc/configure.ac | 1 + 2 files changed, 2 insertions(+)
Comments
On Wed, Mar 29, 2023 at 02:55:01PM +0200, Martin Liška wrote: > Ready to be installed? > Thanks, > Martin > > PR bootstrap/109310 > > gcc/ChangeLog: > > * configure.ac: Emit a warning for deprecated option > --enable-link-mutex. > * configure: Regenerate. LGTM. > diff --git a/gcc/configure b/gcc/configure > index 15086578533..09ae93ade1a 100755 > --- a/gcc/configure > +++ b/gcc/configure > @@ -31468,6 +31468,7 @@ $as_echo "$do_link_mutex" >&6; } > > if test "$do_link_mutex" = "yes"; then > DO_LINK_MUTEX=true > + echo gcc/configure: WARNING: --enable-link-mutex is deprecated and will be removed in the next release, use --enable-link-serialization instead 1>&2 > else > DO_LINK_MUTEX=false > fi > diff --git a/gcc/configure.ac b/gcc/configure.ac > index 120151c474a..13c1a85851c 100644 > --- a/gcc/configure.ac > +++ b/gcc/configure.ac > @@ -7013,6 +7013,7 @@ AC_MSG_RESULT($do_link_mutex) > > if test "$do_link_mutex" = "yes"; then > DO_LINK_MUTEX=true > + echo gcc/configure: WARNING: --enable-link-mutex is deprecated and will be removed in the next release, use --enable-link-serialization instead 1>&2 > else > DO_LINK_MUTEX=false > fi > -- > 2.40.0 Jakub
On Mär 29 2023, Martin Liška wrote: > diff --git a/gcc/configure.ac b/gcc/configure.ac > index 120151c474a..13c1a85851c 100644 > --- a/gcc/configure.ac > +++ b/gcc/configure.ac > @@ -7013,6 +7013,7 @@ AC_MSG_RESULT($do_link_mutex) > > if test "$do_link_mutex" = "yes"; then > DO_LINK_MUTEX=true > + echo gcc/configure: WARNING: --enable-link-mutex is deprecated and will be removed in the next release, use --enable-link-serialization instead 1>&2 Please use AC_MSG_WARN.
On 3/29/23 15:02, Andreas Schwab wrote: > On Mär 29 2023, Martin Liška wrote: > >> diff --git a/gcc/configure.ac b/gcc/configure.ac >> index 120151c474a..13c1a85851c 100644 >> --- a/gcc/configure.ac >> +++ b/gcc/configure.ac >> @@ -7013,6 +7013,7 @@ AC_MSG_RESULT($do_link_mutex) >> >> if test "$do_link_mutex" = "yes"; then >> DO_LINK_MUTEX=true >> + echo gcc/configure: WARNING: --enable-link-mutex is deprecated and will be removed in the next release, use --enable-link-serialization instead 1>&2 > > Please use AC_MSG_WARN. > Good point Andreas, installed as 8b2766e87db. Thanks, Martin
On Wed, Mar 29, 2023 at 3:01 PM Jakub Jelinek via Gcc-patches <gcc-patches@gcc.gnu.org> wrote: > > On Wed, Mar 29, 2023 at 02:55:01PM +0200, Martin Liška wrote: > > Ready to be installed? > > Thanks, > > Martin > > > > PR bootstrap/109310 > > > > gcc/ChangeLog: > > > > * configure.ac: Emit a warning for deprecated option > > --enable-link-mutex. > > * configure: Regenerate. > > LGTM. I wonder if we can simply alias --enable-link-mutex to --enable-link-serialization though. > > diff --git a/gcc/configure b/gcc/configure > > index 15086578533..09ae93ade1a 100755 > > --- a/gcc/configure > > +++ b/gcc/configure > > @@ -31468,6 +31468,7 @@ $as_echo "$do_link_mutex" >&6; } > > > > if test "$do_link_mutex" = "yes"; then > > DO_LINK_MUTEX=true > > + echo gcc/configure: WARNING: --enable-link-mutex is deprecated and will be removed in the next release, use --enable-link-serialization instead 1>&2 > > else > > DO_LINK_MUTEX=false > > fi > > diff --git a/gcc/configure.ac b/gcc/configure.ac > > index 120151c474a..13c1a85851c 100644 > > --- a/gcc/configure.ac > > +++ b/gcc/configure.ac > > @@ -7013,6 +7013,7 @@ AC_MSG_RESULT($do_link_mutex) > > > > if test "$do_link_mutex" = "yes"; then > > DO_LINK_MUTEX=true > > + echo gcc/configure: WARNING: --enable-link-mutex is deprecated and will be removed in the next release, use --enable-link-serialization instead 1>&2 > > else > > DO_LINK_MUTEX=false > > fi > > -- > > 2.40.0 > > Jakub >
On 3/29/23 15:05, Richard Biener wrote: > I wonder if we can simply alias --enable-link-mutex to > --enable-link-serialization though. Sure, we can. Do you want it for gcc-13 as well? Cheers, Martin
diff --git a/gcc/configure b/gcc/configure index 15086578533..09ae93ade1a 100755 --- a/gcc/configure +++ b/gcc/configure @@ -31468,6 +31468,7 @@ $as_echo "$do_link_mutex" >&6; } if test "$do_link_mutex" = "yes"; then DO_LINK_MUTEX=true + echo gcc/configure: WARNING: --enable-link-mutex is deprecated and will be removed in the next release, use --enable-link-serialization instead 1>&2 else DO_LINK_MUTEX=false fi diff --git a/gcc/configure.ac b/gcc/configure.ac index 120151c474a..13c1a85851c 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -7013,6 +7013,7 @@ AC_MSG_RESULT($do_link_mutex) if test "$do_link_mutex" = "yes"; then DO_LINK_MUTEX=true + echo gcc/configure: WARNING: --enable-link-mutex is deprecated and will be removed in the next release, use --enable-link-serialization instead 1>&2 else DO_LINK_MUTEX=false fi