From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x341.google.com (mail-ot1-x341.google.com [IPv6:2607:f8b0:4864:20::341]) by sourceware.org (Postfix) with ESMTPS id F31023972C0E for ; Fri, 27 Nov 2020 14:55:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org F31023972C0E Received: by mail-ot1-x341.google.com with SMTP id h39so4907467otb.5 for ; Fri, 27 Nov 2020 06:55:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=KnLb8/l6xUEGuAxlvsRXzAW5TcxWvWxO0ebpVohaVW8=; b=FrdoIkuvjlhBN1rcOm8AxXEQlbulZPX+yWc8ARB7OKwaUjii9k/tZYzOJrGpW1a1Kp cO/l5tnW+txU5QBxNQEN/QX49KWessNb4YJbbrlhIzZez7s7AP6lCovBxNBj6kgljvfy Jvm6hoPJSbGKjg/WhG9hOSG4sEmbjcWbltiFvSPkiu67hIV3EI+lK+t+QAFhtLfFlH0j +1GSnz3ggw/835YyREbbskfYbbNfAEzXo8l8Sf+eOqBtajGEQ/7E2OHq9jZnSsd9g5cW xl8lZffBL0JK4e8fnBX57gPehN1tgytMnCXhLzB4+d3FjdgPhva4AZvtWjzZAgh46022 xFwA== X-Gm-Message-State: AOAM5317sOWE5FEpiFKe3o6FpLTzrkutqShY4XWPa/xtBymHPM49JEbI 6fAKpERIPLQd+zRjFbgt5h70kmjgJYguWYvy+Ic= X-Google-Smtp-Source: ABdhPJxJDQjWvX4K2Gs2nOD2DxVERFqmosJiFIuyJTVOcABWUct2d5zebKHPDodIOITNy6DyiuWO5uXPStMnmHKGrhQ= X-Received: by 2002:a9d:eeb:: with SMTP id 98mr6519031otj.179.1606488928433; Fri, 27 Nov 2020 06:55:28 -0800 (PST) MIME-Version: 1.0 References: <20201127134211.1808714-1-hjl.tools@gmail.com> In-Reply-To: From: "H.J. Lu" Date: Fri, 27 Nov 2020 06:54:52 -0800 Message-ID: Subject: Re: [PATCH] INSTALL: Default to --enable-cet=auto To: Richard Biener Cc: GCC Patches Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3036.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Nov 2020 14:55:30 -0000 On Fri, Nov 27, 2020 at 6:24 AM Richard Biener wrote: > > OK. > > On Fri, 27 Nov 2020, H.J. Lu wrote: > > > PR other/98027 > > * doc/install: Default to --enable-cet=auto. > > --- > > gcc/doc/install.texi | 9 ++++----- > > 1 file changed, 4 insertions(+), 5 deletions(-) > > > > diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi > > index 5f879ca4cea..021c347cc09 100644 > > --- a/gcc/doc/install.texi > > +++ b/gcc/doc/install.texi > > @@ -2259,11 +2259,10 @@ instrumentation, see @option{-fcf-protection} option. When > > to add @option{-fcf-protection} and, if needed, other target > > specific options to a set of building options. > > > > -The option is disabled by default. When @code{--enable-cet=auto} > > -is used, it is enabled on Linux/x86 if target binutils > > -supports @code{Intel CET} instructions and disabled otherwise. > > -In this case the target libraries are configured to get additional > > -@option{-fcf-protection} option. > > +@code{--enable-cet=auto} is default. CET is enabled on Linux/x86 if > > +target binutils supports @code{Intel CET} instructions and disabled > > +otherwise. In this case, the target libraries are configured to get > > +additional @option{-fcf-protection} option. > > > > @item --with-riscv-attribute=@samp{yes}, @samp{no} or @samp{default} > > Generate RISC-V attribute by default, in order to record extra build > > > OK for backport to GCC 10? -- H.J.