Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp492481pxa; Fri, 21 Aug 2020 12:33:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKDMyb3t2/6+fJTFCnrUps7ooy1gNR3jfq72t1dqKQ4ohIQRMkjW+V1yJQAWiOtPWZzBfl X-Received: by 2002:a50:f19c:: with SMTP id x28mr4303632edl.295.1598038392939; Fri, 21 Aug 2020 12:33:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598038392; cv=none; d=google.com; s=arc-20160816; b=s+3ntJ0sj+KJbgSEOKs0D9dENRJEWVhN4U1OFBZGlOh6ePXqH3QxcNRpEbBWSzPsA4 Q4DNiGroc37RxaN+ZvHWBGrEFJUWIj7mr6OSGpzkYCL2zx1RINMZ1Dl1XGzH0t7if/KI dgC1OMhXWoXwxRTRxLHNuJrLN4PZ0SmoTk5EwlqiSKuD6XvXLKoBr5qCfK93dmP0mgp7 SGVMfM1UBAUZlU5THhhGwMwgmMBckxKNXnNYcozIRUv/0oqk1D5m2ImeRci9qd7Skwsm SPjksj9u30oUFj9wP35nANkkELBZMbg4WBFd1EbonqIwnSVhxHBWoYbnPnsjNVAldh8L tvwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=9gB440Ze4ZBHaiJd3Tg8xGm277dDUwBE5I6gf2Si2z0=; b=WbZlLZ3R7Ldib9W8RGTvdCXFkevzaegg5UQrP0vyT+F7O2w1zDwQnT+zUu3lP2t7qb RPvCJ95TS2GobpKfA3UGa+VtqBHYE/il6R1XhYLHDWt44c8/Ai+ZKa2e7E0ZwMHbTmFv HMtzEibUT1VWYlKVpcZLpH2ySJdB4pt3q1vWoOGe6u+70zJvnIxOh0N+cPIy9U8uGCxn CIvc0LdhVGwTktfnbN0sfAyfeIcWPOlpaN3POhWbVfMrmsEkeO1aRUBKyjfKmqGaS3/L K9oZkks/8gWC8HDfH6nDLe2JQppieLcMmLiaXcW9Cz9Fe52gszdB9coXzLRo9TWSvDR5 IsQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=WOJ24K7m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v19si1830599ejc.260.2020.08.21.12.32.48; Fri, 21 Aug 2020 12:33:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=WOJ24K7m; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726585AbgHUTaE (ORCPT + 99 others); Fri, 21 Aug 2020 15:30:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725801AbgHUTaB (ORCPT ); Fri, 21 Aug 2020 15:30:01 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E69BC061573 for ; Fri, 21 Aug 2020 12:30:00 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id m22so3071522ljj.5 for ; Fri, 21 Aug 2020 12:30:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9gB440Ze4ZBHaiJd3Tg8xGm277dDUwBE5I6gf2Si2z0=; b=WOJ24K7m95T6qyq7uMw1ZdUwa/ZY4iGih7G5ZretzrJOrNpRBizAWpzqXrw1KWVWpc 9TkDhakIq2vNEGCc92t86ZIgDgIbr11x7Ktk8FlZyRm+v8heqUVRBJ7OMmGX9+L9XQtV J5Et6X/zWbSvpX6upyCYcudXQqtPQNKhJtMC0= 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=9gB440Ze4ZBHaiJd3Tg8xGm277dDUwBE5I6gf2Si2z0=; b=iRz6bSuPa9AJoJy68KxVTg0hc061h2zZwxDKVNsbGsYT2sl2aNEqcl4Aa5nIwWo/so KXB7JET2VIzWLmDuh+/m65ZJiQ4dBCF+K6no6FUCwOqFXSBisAxMozWvCQyI/2rzUfKK h7uXSePk8oAjolTR6QW7yWmUAe0NWT+01e9U2AkYRQjTsH/OwhM+0rKBhFmZKUDMuYxo BPc0zHOia00uBhGYH7Sk4SjNht/eLHKfNSLD5xwkiDXf7JgQsV0NyqJW4LX8Spk8XxVl 6KAZO6wQfKgwJ/LmrLn8T+fWxPQZ1iKgJ5XFeZ+GJnJ7x7+QJQy/qp9XBs9cHCbnpSxa fPpQ== X-Gm-Message-State: AOAM533x7k3UIN8iwN1QSEqSQIYoB71jEFts9xsWPh/nTm+ASyl9/xA3 cN8exwF8xsQb3sDaNb0mWXnMg5yCAo3nmw== X-Received: by 2002:a05:651c:1343:: with SMTP id j3mr2016036ljb.112.1598038198025; Fri, 21 Aug 2020 12:29:58 -0700 (PDT) Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com. [209.85.208.176]) by smtp.gmail.com with ESMTPSA id 20sm570387ljj.51.2020.08.21.12.29.57 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 Aug 2020 12:29:57 -0700 (PDT) Received: by mail-lj1-f176.google.com with SMTP id v9so3074394ljk.6 for ; Fri, 21 Aug 2020 12:29:57 -0700 (PDT) X-Received: by 2002:ac2:58d5:: with SMTP id u21mr2053187lfo.31.1598037806053; Fri, 21 Aug 2020 12:23:26 -0700 (PDT) MIME-Version: 1.0 References: <20200818202407.GA3143683@rani.riverdale.lan> <20200818214146.GA3196105@rani.riverdale.lan> <20200820175617.GA604994@rani.riverdale.lan> <20200821172935.GA1411923@rani.riverdale.lan> <20200821191458.GA1475504@rani.riverdale.lan> In-Reply-To: <20200821191458.GA1475504@rani.riverdale.lan> From: Linus Torvalds Date: Fri, 21 Aug 2020 12:23:10 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 0/4] -ffreestanding/-fno-builtin-* patches To: Arvind Sankar Cc: Rasmus Villemoes , Nick Desaulniers , =?UTF-8?B?RMOhdmlkIEJvbHZhbnNrw70=?= , Eli Friedman , "H. Peter Anvin" , Masahiro Yamada , Andrew Morton , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Michal Marek , Linux Kbuild mailing list , LKML , Kees Cook , Tony Luck , Dmitry Vyukov , Michael Ellerman , Joe Perches , Joel Fernandes , Daniel Axtens , Andy Shevchenko , Alexandru Ardelean , Yury Norov , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , Ard Biesheuvel , "Paul E . McKenney" , Daniel Kiper , Bruce Ashfield , Marco Elver , Vamshi K Sthambamkadi Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 21, 2020 at 12:15 PM Arvind Sankar wrote: > > How are you testing it? > > https://godbolt.org/z/eahdGn Ugh. I tested the reverse thing - that the builtin is still available for manual use despite the -fno-builtin. Because I - stupidly - assumed that fno-builtin would do *something*. But if it's available for manual use _and_ it's used implicitly by the compiler, then that was clearly very naive of me. Linus